diff --git a/data/model/oci/retriever.py b/data/model/oci/retriever.py index 78a07b6ad..1d3c60d7d 100644 --- a/data/model/oci/retriever.py +++ b/data/model/oci/retriever.py @@ -33,5 +33,5 @@ class RepositoryContentRetriever(ContentRetriever): if blob is None: return None - placements = list(get_storage_locations(blob.uuid)) - return self.storage.get_content(placements, get_layer_path(blob)) + assert blob.locations is not None + return self.storage.get_content(blob.locations, get_layer_path(blob))