Skip to content

Commit

Permalink
fix err handling
Browse files Browse the repository at this point in the history
Signed-off-by: bupd <[email protected]>
  • Loading branch information
bupd committed Aug 24, 2024
1 parent eb88ffa commit 44ca48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/store/http-fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (client *RemoteImageList) GetDigest(ctx context.Context, tag string) (strin
digest, err := crane.Digest(imageRef, crane.WithAuth(auth), crane.Insecure)
if err != nil {
log.Error().Msgf("failed to get digest using crane: %v", err)
return "", nil
return "", err
}

return digest, nil
Expand Down

0 comments on commit 44ca48b

Please sign in to comment.