Просмотр исходного кода

--quiet implies --progress=quiet

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 3 лет назад
Родитель
Сommit
3261b60fd1
1 измененных файлов с 1 добавлено и 0 удалено
  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