Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/manifests.list.preferOCI(): pay attention annotations in indexes
Account for the presence of annotations in the OCI version of an index or list when deciding if the structure should be saved in OCI format. This requires removing an annotation from the test data so that the presence of "features" information for one of its instances will be the deciding factor. If we don't take those into account, setting annotations in the index doesn't force the index to be saved in OCI format, even with none of the indicators present that would force use of the Docker format, effectively throwing away those annotations. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
- Loading branch information