diff --git a/endpoints/v2/blob.py b/endpoints/v2/blob.py index 5b6551a54..ccff226d5 100644 --- a/endpoints/v2/blob.py +++ b/endpoints/v2/blob.py @@ -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()