From be4b8c6243e3689ac320a4dc12fb6f809be1e3b2 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Wed, 25 Jan 2023 12:50:03 -0800 Subject: [PATCH] fix(referrers): annotation key is incorrect (#1139) "If filtering is requested and applied, the response MUST include an annotation (org.opencontainers.referrers.filtersApplied) denoting that an artifactType filter was applied."" Signed-off-by: Ramkumar Chinchani --- pkg/storage/constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storage/constants/constants.go b/pkg/storage/constants/constants.go index 933f8eab..85af6b62 100644 --- a/pkg/storage/constants/constants.go +++ b/pkg/storage/constants/constants.go @@ -18,6 +18,6 @@ const ( DBExtensionName = ".db" DBCacheLockCheckTimeout = 10 * time.Second BoltdbName = "cache" - ReferrerFilterAnnotation = "org.opencontainers.references.filtersApplied" + ReferrerFilterAnnotation = "org.opencontainers.referrers.filtersApplied" DynamoDBDriverName = "dynamodb" )