Raise a 409 if we try to insert a tag twice at the same time
Also fixes handling of labels for existing manifests Fixes #1775
This commit is contained in:
parent
3f459523c4
commit
357005e33f
5 changed files with 36 additions and 12 deletions
|
@ -97,6 +97,10 @@ class ServiceNameInvalid(DataModelException):
|
|||
pass
|
||||
|
||||
|
||||
class TagAlreadyCreatedException(DataModelException):
|
||||
pass
|
||||
|
||||
|
||||
class TooManyLoginAttemptsException(Exception):
|
||||
def __init__(self, message, retry_after):
|
||||
super(TooManyLoginAttemptsException, self).__init__(message)
|
||||
|
|
Reference in a new issue