mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|iam] Make mock EntityAlreadyExists message match reality.
This commit is contained in:
parent
fd0b94b860
commit
d3318a9d09
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.data[:server_certificates][name]
|
if self.data[:server_certificates][name]
|
||||||
raise Fog::AWS::IAM::EntityAlreadyExists.new
|
raise Fog::AWS::IAM::EntityAlreadyExists.new("The Server Certificate with name #{name} already exists.")
|
||||||
else
|
else
|
||||||
response.status = 200
|
response.status = 200
|
||||||
path = options['Path'] || "/"
|
path = options['Path'] || "/"
|
||||||
|
|
Loading…
Reference in a new issue