Skip to content

Commit

Permalink
fixup! manifest: add support for oci image types
Browse files Browse the repository at this point in the history
  • Loading branch information
jedevc committed Jan 27, 2023
1 parent 4472c1d commit f4cddec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/registry/client/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ func pullManifestList(ctx context.Context, ref reference.Named, repo distributio
case *ocischema.DeserializedManifest:
imageManifest, err = pullManifestOCISchema(ctx, manifestRef, repo, *v)
default:
return nil, errors.Errorf("unsupported manifest type: %T", manifest)
err = errors.Errorf("unsupported manifest type: %T", manifest)
}
if err != nil {
return nil, err
}

// Replace platform from config
Expand Down

0 comments on commit f4cddec

Please sign in to comment.