Browse Source

--quiet implies --progress=quiet

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 3 năm trước cách đây
mục cha
commit
3261b60fd1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      cmd/compose/build.go

+ 1 - 0
cmd/compose/build.go

@@ -61,6 +61,7 @@ func buildCommand(p *projectOptions, backend api.Service) *cobra.Command {
 				fmt.Println("WARNING --memory is ignored as not supported in buildkit.")
 			}
 			if opts.quiet {
+				opts.progress = buildx.PrinterModeQuiet
 				devnull, err := os.Open(os.DevNull)
 				if err != nil {
 					return err