Fix verbs support in V2
This commit is contained in:
parent
cf030e2a98
commit
1450b7e84c
9 changed files with 64 additions and 44 deletions
|
@ -218,8 +218,9 @@ def get_repo_storage_by_checksum(namespace, repository_name, checksum):
|
|||
raise InvalidImageException('No storage found with checksum {0}'.format(checksum))
|
||||
|
||||
|
||||
def get_layer_path(storage_record, store):
|
||||
def get_layer_path(storage_record):
|
||||
""" Returns the path in the storage engine to the layer data referenced by the storage row. """
|
||||
store = config.store
|
||||
if not storage_record.cas_path:
|
||||
return store.v1_image_layer_path(storage_record.uuid)
|
||||
|
||||
|
|
Reference in a new issue