소스 검색

use api.Separator to print right image names

Signed-off-by: windforce17 <[email protected]>
windforce17 2 년 전
부모
커밋
2e7644ff21
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cmd/compose/convert.go

+ 1 - 1
cmd/compose/convert.go

@@ -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