Fix registry test due to recent name change
This commit is contained in:
parent
ffd567e2c2
commit
6207bb5e6f
1 changed files with 3 additions and 1 deletions
|
@ -530,7 +530,9 @@ class V2Protocol(RegistryProtocol):
|
||||||
|
|
||||||
manifest = parse_manifest_from_bytes(response.text, response.headers['Content-Type'])
|
manifest = parse_manifest_from_bytes(response.text, response.headers['Content-Type'])
|
||||||
manifests[tag_name] = manifest
|
manifests[tag_name] = manifest
|
||||||
image_ids[tag_name] = manifest.leaf_layer_v1_image_id
|
|
||||||
|
if manifest.schema_version == 1:
|
||||||
|
image_ids[tag_name] = manifest.leaf_layer_v1_image_id
|
||||||
|
|
||||||
# Verify the layers.
|
# Verify the layers.
|
||||||
for index, layer in enumerate(manifest.layers):
|
for index, layer in enumerate(manifest.layers):
|
||||||
|
|
Reference in a new issue