Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
catch error of getLocalImagesDigests
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
satotake authored Jun 21, 2021
1 parent d018e65 commit 65031c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/compose/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,13 @@ func getPullPlan(service types.ServiceConfig, localDigests []string, dstrDigest

func (s *composeService) pullDryRun(ctx context.Context, project *types.Project, opts api.PullOptions) error {
// ignore errors
localDigests, _ := s.getLocalImagesDigests(ctx, project)
dstrDigests, _ := s.getDistributionImagesDigests(ctx, project)

localDigests, err := s.getLocalImagesDigests(ctx, project)
if err != nil {
return err
}

var results []pullDryRunServiceResult

for _, service := range project.Services {
Expand Down

0 comments on commit 65031c0

Please sign in to comment.