delete trailing whitespace
This commit is contained in:
parent
a66a4d6a10
commit
568ca1d7ba
1 changed files with 2 additions and 2 deletions
|
@ -47,13 +47,13 @@ def _get_repository_blob(namespace_name, repo_name, digest):
|
|||
blob = model.get_blob_by_digest(namespace_name, repo_name, digest)
|
||||
if blob is None:
|
||||
return None
|
||||
|
||||
|
||||
return blob._asdict()
|
||||
|
||||
blob_cache_key = cache_key.for_repository_blob(namespace_name, repo_name, digest)
|
||||
blob_dict = model_cache.retrieve(blob_cache_key, load_blob)
|
||||
return Blob(**blob_dict) if blob_dict is not None else None
|
||||
|
||||
|
||||
|
||||
@v2_bp.route(BLOB_DIGEST_ROUTE, methods=['HEAD'])
|
||||
@parse_repository_name()
|
||||
|
|
Reference in a new issue