From 46a76890436173d0d82a3d5a7ec49d1146523a24 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Thu, 15 Apr 2021 16:04:32 -0300 Subject: [PATCH] Fix volume names to print simple volume names Signed-off-by: Ulysses Souza --- cli/cmd/compose/convert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/cmd/compose/convert.go b/cli/cmd/compose/convert.go index ad91bfa4e..42453bbe2 100644 --- a/cli/cmd/compose/convert.go +++ b/cli/cmd/compose/convert.go @@ -170,8 +170,8 @@ func runVolumes(opts convertOptions) error { if err != nil { return err } - for _, v := range project.Volumes { - fmt.Println(v.Name) + for n := range project.Volumes { + fmt.Println(n) } return nil }