Fix exception bases for manifest exceptions

This commit is contained in:
Joseph Schorr 2018-11-20 12:55:45 +02:00
parent 17d7828f1a
commit dcf312d94d
2 changed files with 4 additions and 2 deletions

View file

@ -31,7 +31,7 @@ DOCKER_SCHEMA2_MANIFESTLIST_FEATURES_KEY = 'features'
DOCKER_SCHEMA2_MANIFESTLIST_VARIANT_KEY = 'variant'
class MalformedSchema2ManifestList(Exception):
class MalformedSchema2ManifestList(ManifestException):
"""
Raised when a manifest list fails an assertion that should be true according to the
Docker Manifest v2.2 Specification.