Skip to content

Commit

Permalink
Merge pull request #688 from sallyom/fix-manifest-list-warning
Browse files Browse the repository at this point in the history
Bug 1914452: Fix the manifest list warning when choosing an os/arch digest from list
  • Loading branch information
openshift-merge-robot committed Jan 9, 2021
2 parents 7cbe997 + ef1cea7 commit 4f1cf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/image/manifest/manifest.go
Expand Up @@ -411,7 +411,7 @@ func ProcessManifestList(ctx context.Context, srcDigest digest.Digest, srcManife
if err != nil {
return nil, nil, "", err
}
klog.Warningf("Chose %s/%s manifest from the list.\nTo include the manifest list digest: %s, use --keep-manifest-list=true", t.Manifests[0].Platform.OS, t.Manifests[0].Platform.Architecture, srcDigest)
klog.Warningf("Chose %s/%s manifest from the manifest list.", t.Manifests[0].Platform.OS, t.Manifests[0].Platform.Architecture)
return srcManifests, srcManifests[0], manifestDigest, nil
default:
return append(srcManifests, manifestList), manifestList, manifestDigest, nil
Expand Down

0 comments on commit 4f1cf78

Please sign in to comment.