Adjustments based on code review feedback
This commit is contained in:
parent
c46b11bac1
commit
1eaf5b18dd
9 changed files with 30 additions and 19 deletions
|
@ -183,10 +183,14 @@ class DockerSchema2ManifestList(ManifestInterface):
|
|||
except ValidationError as ve:
|
||||
raise MalformedSchema2ManifestList('manifest data does not match schema: %s' % ve)
|
||||
|
||||
@property
|
||||
def is_manifest_list(self):
|
||||
""" Returns whether this manifest is a list. """
|
||||
return True
|
||||
|
||||
@property
|
||||
def schema_version(self):
|
||||
""" The version of the schema, or None for lists. """
|
||||
return None
|
||||
return 2
|
||||
|
||||
@property
|
||||
def digest(self):
|
||||
|
|
Reference in a new issue