Skip to content

Commit

Permalink
use api.Separator to print right image names
Browse files Browse the repository at this point in the history
Signed-off-by: windforce17 <wzcboss@qq.com>
  • Loading branch information
Windforce17 authored and ndeloof committed Dec 1, 2022
1 parent 8f2b747 commit 2e7644f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/compose/convert.go
Expand Up @@ -224,7 +224,7 @@ func runConfigImages(opts convertOptions, services []string) error {
if s.Image != "" {
fmt.Println(s.Image)
} else {
fmt.Printf("%s_%s\n", project.Name, s.Name)
fmt.Printf("%s%s%s\n", project.Name, api.Separator, s.Name)
}
}
return nil
Expand Down

0 comments on commit 2e7644f

Please sign in to comment.