You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I baked an index containing a manifest without platform information and tried to use oras manifest fetch --platform, then the execution will painc.
What did you expect to happen?
The execution should fail with errors like
> oras manifest fetch --descriptor localhost:7000/command/images:multi1 --platform test/platformError: failed to find "localhost:7000/command/images:multi1": sha256:a75baa86dca530232c82eb68a5e97506aa85356e0ee5f1df852a01a9916fdca8: not found: no matching manifest was found in the manifest list
qweeah
changed the title
oras manifest fetch will panic --platform flag is used on certain index/manifest listoras manifest fetch will panic if --platform flag is used on certain index/manifest list
Jan 25, 2024
What happened in your environment?
If I baked an index containing a manifest without platform information and tried to use
oras manifest fetch --platform
, then the execution will painc.What did you expect to happen?
The execution should fail with errors like
How can we reproduce it?
What is the version of your ORAS CLI?
v1.1.0
What is your OS environment?
20.04
Are you willing to submit PRs to fix it?
The text was updated successfully, but these errors were encountered: