Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
fix(k8s): use correct volume for data sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonso-presa authored and diemol committed Jan 27, 2020
1 parent 18a92e2 commit 790996c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private void discoverFolderMounts() {
.filter(volume -> validMount.getName().equalsIgnoreCase(volume.getName()))
.findFirst()
.ifPresent(volume -> {
if(nodeSharedArtifactsMount == null) {
if(nodeSharedArtifactsMount == null && volume.getEmptyDir() == null && volume.getName().endsWith("-data")) {
nodeSharedArtifactsMount = validMount;
}
mountedSharedFoldersMap.put(validMount, volume);
Expand Down

0 comments on commit 790996c

Please sign in to comment.