diff --git a/common/pkg/manifests/manifests.go b/common/pkg/manifests/manifests.go index 6884c13d04..7ae1f41f49 100644 --- a/common/pkg/manifests/manifests.go +++ b/common/pkg/manifests/manifests.go @@ -18,6 +18,8 @@ import ( // List is a generic interface for manipulating a manifest list or an image // index. +// +// Note: the instanceDigest values used for lookups/removals must exactly match the digests in the manifest list, in particular use the algorithm used there. type List interface { AddInstance(manifestDigest digest.Digest, manifestSize int64, manifestType, os, architecture, osVersion string, osFeatures []string, variant string, features []string, annotations []string) error Remove(instanceDigest digest.Digest) error