Bump go-containerregistry dependency (#2076)

This picks up https://github.com/google/go-containerregistry/pull/1360
This commit is contained in:
Jason Hall
2022-05-08 12:40:24 -04:00
committed by GitHub
parent 96a8ee0c07
commit 816e6d52b4
39 changed files with 646 additions and 370 deletions
+3 -3
View File
@@ -207,11 +207,11 @@ func (errs Errors) MarshalJSON() ([]byte, error) {
for _, daErr := range errs {
var err Error
switch daErr.(type) {
switch daErr := daErr.(type) {
case ErrorCode:
err = daErr.(ErrorCode).WithDetail(nil)
err = daErr.WithDetail(nil)
case Error:
err = daErr.(Error)
err = daErr
default:
err = ErrorCodeUnknown.WithDetail(daErr)