Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit cd437d1

Browse files
authored
Merge pull request #1556 from ulyssessouza/config-volumes
Fix volume names to print simple volume names
2 parents fb5d51f + 46a7689 commit cd437d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/cmd/compose/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ func runVolumes(opts convertOptions) error {
170170
if err != nil {
171171
return err
172172
}
173-
for _, v := range project.Volumes {
174-
fmt.Println(v.Name)
173+
for n := range project.Volumes {
174+
fmt.Println(n)
175175
}
176176
return nil
177177
}

0 commit comments

Comments
 (0)