fix 409 exception regex

NamedMetricAlreadyExists does not catch the correct message.

Change-Id: I951fde3afa80b41643fa3b4af6f14e41e4063f0d
This commit is contained in:
Mehdi Abaakouk 2016-11-22 12:10:56 +01:00
parent f5035d18fb
commit 107889476a
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class Conflict(ClientException):
class NamedMetricAlreadyExists(Conflict, MutipleMeaningException):
message = "Named metric already exists"
match = re.compile("Named metric .* does not exist")
match = re.compile("Named metric .* already exist")
class ResourceAlreadyExists(Conflict, MutipleMeaningException):