mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
don't display bake suggestion when using --progress with quiet or json option
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
5f7c9a2b4b
commit
d956ff13da
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ func (s *composeService) build(ctx context.Context, project *types.Project, opti
|
|||
w *xprogress.Printer
|
||||
)
|
||||
if buildkitEnabled {
|
||||
if hints.Enabled() {
|
||||
if hints.Enabled() && progress.Mode != progress.ModeQuiet && progress.Mode != progress.ModeJSON {
|
||||
suggest.Do(func() {
|
||||
fmt.Fprintln(s.dockerCli.Out(), bakeSuggest) //nolint:errcheck
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue