feat: if no matching manifest, then the log printing platform string (#2867)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
2339e9b7c0
commit
da014f5043
|
|
@ -209,7 +209,7 @@ func (p *preheat) getImageLayers(ctx context.Context, args types.PreheatArgs) ([
|
||||||
|
|
||||||
// no matching manifest for platform in the manifest list entries
|
// no matching manifest for platform in the manifest list entries
|
||||||
if len(manifests) == 0 {
|
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
|
// set authorization header
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue