mirror of
https://github.com/docker/compose.git
synced 2026-06-29 20:56:07 +00:00
use api.Separator to print right image names
Signed-off-by: windforce17 <wzcboss@qq.com>
This commit is contained in:
parent
8f2b747104
commit
2e7644ff21
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue