Inherit InvalidImageRef from InvalidParameterValue
InvalidImageRef is a kind of InvalidParameterValue and can happen during validation, causing a traceback now. Change-Id: I5f10fe7240e74d337f991bbd1a5220cc4e713de7
This commit is contained in:
parent
83b412cbdb
commit
47398edd3c
@ -386,7 +386,7 @@ class ImageNotAuthorized(NotAuthorized):
|
||||
_msg_fmt = _("Not authorized for image %(image_id)s.")
|
||||
|
||||
|
||||
class InvalidImageRef(Invalid):
|
||||
class InvalidImageRef(InvalidParameterValue):
|
||||
_msg_fmt = _("Invalid image href %(image_href)s.")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user