Skip to content

Commit

Permalink
pull --quiet should not drop status message, only progress
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof authored and glours committed Dec 6, 2024
1 parent 69a83d1 commit 1d08390
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/compose/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1d08390

Please sign in to comment.