Skip to content

Commit

Permalink
Merge pull request #229 from aroradaman/fix/verifying-reference-error…
Browse files Browse the repository at this point in the history
…-logging

signing/reference-verification: propagating error to the caller
  • Loading branch information
k8s-ci-robot authored Jul 18, 2023
2 parents 015b804 + 670aa7a commit d9b6bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sign/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (s *Signer) SignImageWithOptions(options *Options, reference string) (objec
})

if waitErr != nil {
return nil, fmt.Errorf("retrying image verification: %w", waitErr)
return nil, fmt.Errorf("retrying image verification: %w: %w", waitErr, err)
}

return object, err
Expand Down

0 comments on commit d9b6bae

Please sign in to comment.