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:
Joseph Schorr 2016-08-29 11:58:18 -04:00
parent 3f459523c4
commit 357005e33f
5 changed files with 36 additions and 12 deletions

View file

@ -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)