Skip to content

Commit

Permalink
Merge pull request #201 from PerseidMeteor/fix-cache-map-err
Browse files Browse the repository at this point in the history
fix: return cache map error when encountered
  • Loading branch information
imeoer authored Sep 28, 2023
2 parents 3c73e7b + 8c91b3d commit fd73ae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ func (adp *LocalAdapter) Convert(ctx context.Context, source string) (*converter
logrus.Infof("image was remote cache: %s", source)
return nil, nil
}
return nil, errors.Wrap(err, "create cache reference by rule")
}
if err = adp.content.NewRemoteCache(cacheRef); err != nil {
return nil, err
Expand Down

0 comments on commit fd73ae9

Please sign in to comment.