fix 409 exception regex
NamedMetricAlreadyExists does not catch the correct message. Change-Id: I951fde3afa80b41643fa3b4af6f14e41e4063f0d
This commit is contained in:
parent
f5035d18fb
commit
107889476a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue