Skip to content

Commit

Permalink
feat: if no matching manifest, then the log printing platform string (#…
Browse files Browse the repository at this point in the history
…2867)

Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Nov 8, 2023
1 parent 2339e9b commit da014f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/job/preheat.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (p *preheat) getImageLayers(ctx context.Context, args types.PreheatArgs) ([

// no matching manifest for platform in the manifest list entries
if len(manifests) == 0 {
return nil, fmt.Errorf("no matching manifest for platform %s", platform)
return nil, fmt.Errorf("no matching manifest for platform %s", platforms.Format(platform))
}

// set authorization header
Expand Down

0 comments on commit da014f5

Please sign in to comment.