Skip to content

Commit

Permalink
Merge pull request #3870 from deitch/fix-registry-check-error-handler
Browse files Browse the repository at this point in the history
when cannot get remote manifest in checking registry, that is just a …
  • Loading branch information
deitch committed Nov 9, 2022
2 parents 01c444e + bb9a80c commit 4f23407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cmd/linuxkit/cache/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ func (p *Provider) ImageInRegistry(ref *reference.Spec, trustedRef, architecture

desc, err := remote.Get(remoteRef, remoteOptions...)
if err != nil {
return false, fmt.Errorf("error getting manifest for image %s: %v", image, err)
log.Debugf("Retrieving image %s returned an error, ignoring: %v", image, err)
return false, nil
}
// first attempt as an index
ii, err := desc.ImageIndex()
Expand Down

0 comments on commit 4f23407

Please sign in to comment.