forked from LaconicNetwork/kompose
Merge pull request #603 from procrypt/error_with_volume_name
PVC name changes if volumes containes .(dot) in it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user