Skip to content

Commit 2e7644f

Browse files
Windforce17ndeloof
authored andcommitted
use api.Separator to print right image names
Signed-off-by: windforce17 <[email protected]>
1 parent 8f2b747 commit 2e7644f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/compose/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func runConfigImages(opts convertOptions, services []string) error {
224224
if s.Image != "" {
225225
fmt.Println(s.Image)
226226
} else {
227-
fmt.Printf("%s_%s\n", project.Name, s.Name)
227+
fmt.Printf("%s%s%s\n", project.Name, api.Separator, s.Name)
228228
}
229229
}
230230
return nil

0 commit comments

Comments
 (0)