Merge pull request #603 from procrypt/error_with_volume_name

PVC name changes if volumes containes .(dot) in it
This commit is contained in:
Charlie Drage
2017-06-19 09:39:59 -04:00
committed by GitHub
5 changed files with 474 additions and 1 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ func ParseVolume(volume string) (name, host, container, mode string, err error)
}
func isPath(substring string) bool {
return strings.Contains(substring, "/")
return strings.Contains(substring, "/") || substring == "."
}
// ConfigLabels configures label