Merge pull request #11171 from szampardi/main

fix docker/compose#11170 add newline in cmd/compose/build.go fmt.Fprint
This commit is contained in:
Guillaume Lours 2023-11-08 23:23:16 +01:00 committed by GitHub
commit c1a9ffa07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func buildCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
opts.ssh = "default"
}
if cmd.Flags().Changed("progress") && opts.ssh == "" {
fmt.Fprint(os.Stderr, "--progress is a global compose flag, better use `docker compose --progress xx build ...")
fmt.Fprint(os.Stderr, "--progress is a global compose flag, better use `docker compose --progress xx build ...\n")
}
return runBuild(ctx, dockerCli, backend, opts, args)
}),