Fix serialization of blobs to/from the cache
Also makes sure the test checks that serialization
This commit is contained in:
parent
0bc1a06f4c
commit
24b77bbc10
3 changed files with 12 additions and 6 deletions
|
@ -227,7 +227,7 @@ class PreOCIModel(DockerRegistryV2DataInterface):
|
|||
uuid=blob_record.uuid,
|
||||
digest=digest,
|
||||
size=blob_record.image_size,
|
||||
locations=blob_record.locations,
|
||||
locations=list(blob_record.locations),
|
||||
cas_path=blob_record.cas_path
|
||||
)
|
||||
except model.BlobDoesNotExist:
|
||||
|
|
Reference in a new issue