mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
build(deps): bump github.com/containers/image/v5 from 5.0.0 to 5.1.0
Bumps [github.com/containers/image/v5](https://github.com/containers/image) from 5.0.0 to 5.1.0. - [Release notes](https://github.com/containers/image/releases) - [Commits](https://github.com/containers/image/compare/v5.0.0...v5.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/image/v5/signature/signature.go
generated
vendored
4
vendor/github.com/containers/image/v5/signature/signature.go
generated
vendored
@@ -111,8 +111,8 @@ var _ json.Unmarshaler = (*untrustedSignature)(nil)
|
||||
func (s *untrustedSignature) UnmarshalJSON(data []byte) error {
|
||||
err := s.strictUnmarshalJSON(data)
|
||||
if err != nil {
|
||||
if _, ok := err.(jsonFormatError); ok {
|
||||
err = InvalidSignatureError{msg: err.Error()}
|
||||
if formatErr, ok := err.(jsonFormatError); ok {
|
||||
err = InvalidSignatureError{msg: formatErr.Error()}
|
||||
}
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user