Fix disabled namespace check
This commit is contained in:
parent
cbf0edb164
commit
4a7b4ad06a
9 changed files with 32 additions and 23 deletions
4
data/cache/cache_key.py
vendored
4
data/cache/cache_key.py
vendored
|
@ -5,9 +5,9 @@ class CacheKey(namedtuple('CacheKey', ['key', 'expiration'])):
|
|||
pass
|
||||
|
||||
|
||||
def for_repository_blob(namespace_name, repo_name, digest):
|
||||
def for_repository_blob(namespace_name, repo_name, digest, version):
|
||||
""" Returns a cache key for a blob in a repository. """
|
||||
return CacheKey('repo_blob__%s_%s_%s' % (namespace_name, repo_name, digest), '60s')
|
||||
return CacheKey('repo_blob__%s_%s_%s_%s' % (namespace_name, repo_name, digest, version), '60s')
|
||||
|
||||
|
||||
def for_catalog_page(auth_context_key, start_id, limit):
|
||||
|
|
Reference in a new issue