Make sure list_manifest_layers is not callable for manifest lists
This commit is contained in:
parent
7fa60d5802
commit
a9b8586423
3 changed files with 10 additions and 6 deletions
|
@ -199,7 +199,7 @@ class RegistryDataInterface(object):
|
|||
""" Returns an *ordered list* of the layers found in the manifest, starting at the base
|
||||
and working towards the leaf, including the associated Blob and its placements
|
||||
(if specified). The layer information in `layer_info` will be of type
|
||||
`image.docker.types.ManifestImageLayer`.
|
||||
`image.docker.types.ManifestImageLayer`. Should not be called for a manifest list.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
|
@ -208,7 +208,7 @@ class RegistryDataInterface(object):
|
|||
""" Returns an *ordered list* of the layers found in the parsed manifest, starting at the base
|
||||
and working towards the leaf, including the associated Blob and its placements
|
||||
(if specified). The layer information in `layer_info` will be of type
|
||||
`image.docker.types.ManifestImageLayer`.
|
||||
`image.docker.types.ManifestImageLayer`. Should not be called for a manifest list.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
|
|
Reference in a new issue