use api.Separator to print right image names

Signed-off-by: windforce17 <wzcboss@qq.com>
This commit is contained in:
windforce17 2022-11-30 00:43:04 +00:00 committed by Nicolas De loof
parent 8f2b747104
commit 2e7644ff21
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ func runConfigImages(opts convertOptions, services []string) error {
if s.Image != "" { if s.Image != "" {
fmt.Println(s.Image) fmt.Println(s.Image)
} else { } else {
fmt.Printf("%s_%s\n", project.Name, s.Name) fmt.Printf("%s%s%s\n", project.Name, api.Separator, s.Name)
} }
} }
return nil return nil