From 1d08390864ab184bbdc91a61620b10f0050ee32d Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Fri, 6 Dec 2024 11:01:50 +0100 Subject: [PATCH] pull --quiet should not drop status message, only progress Signed-off-by: Nicolas De Loof --- pkg/compose/pull.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/compose/pull.go b/pkg/compose/pull.go index ac5b779497d..a4f37eae727 100644 --- a/pkg/compose/pull.go +++ b/pkg/compose/pull.go @@ -42,9 +42,6 @@ import ( ) func (s *composeService) Pull(ctx context.Context, project *types.Project, options api.PullOptions) error { - if options.Quiet { - return s.pull(ctx, project, options) - } return progress.RunWithTitle(ctx, func(ctx context.Context) error { return s.pull(ctx, project, options) }, s.stdinfo(), "Pulling") @@ -118,7 +115,7 @@ func (s *composeService) pull(ctx context.Context, project *types.Project, opts idx, name, service := i, name, service eg.Go(func() error { - _, err := s.pullServiceImage(ctx, service, s.configFile(), w, false, project.Environment["DOCKER_DEFAULT_PLATFORM"]) + _, err := s.pullServiceImage(ctx, service, s.configFile(), w, opts.Quiet, project.Environment["DOCKER_DEFAULT_PLATFORM"]) if err != nil { pullErrors[idx] = err if service.Build != nil {