0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

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 <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2023-01-25 12:50:03 -08:00 committed by GitHub
parent 0938e4704c
commit be4b8c6243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,6 @@ const (
DBExtensionName = ".db" DBExtensionName = ".db"
DBCacheLockCheckTimeout = 10 * time.Second DBCacheLockCheckTimeout = 10 * time.Second
BoltdbName = "cache" BoltdbName = "cache"
ReferrerFilterAnnotation = "org.opencontainers.references.filtersApplied" ReferrerFilterAnnotation = "org.opencontainers.referrers.filtersApplied"
DynamoDBDriverName = "dynamodb" DynamoDBDriverName = "dynamodb"
) )