forked from LaconicNetwork/kompose
Fix v3 hostpath path concatenate error (#1222)
This commit is contained in:
1 parent
ae138029a1
commit
25337eb82c
4 files changed
+30
-3
No files matched your search
@@ -164,9 +164,8 @@ func loadV3Volumes(volumes []types.ServiceVolumeConfig) []string {
|
||||
|
||||
var volArray []string
|
||||
for _, vol := range volumes {
|
||||
|
||||
// There will *always* be Source when parsing
|
||||
v := normalizeVolumes(vol.Source)
|
||||
v := vol.Source
|
||||
|
||||
if vol.Target != "" {
|
||||
v = v + ":" + vol.Target
|
||||
|
||||
Reference in new issue
Block a user