mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
actually handle cluster not found
This commit is contained in:
parent
0f0cfe26cc
commit
8cb360ca78
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ module Fog
|
|||
end
|
||||
else
|
||||
raise case match[:code]
|
||||
when 'DBInstanceNotFound', 'DBParameterGroupNotFound', 'DBSnapshotNotFound', 'DBSecurityGroupNotFound', 'SubscriptionNotFound'
|
||||
when 'DBInstanceNotFound', 'DBParameterGroupNotFound', 'DBSnapshotNotFound', 'DBSecurityGroupNotFound', 'SubscriptionNotFound', 'DBClusterNotFoundFault'
|
||||
Fog::AWS::RDS::NotFound.slurp(error, match[:message])
|
||||
when 'DBParameterGroupAlreadyExists'
|
||||
Fog::AWS::RDS::IdentifierTaken.slurp(error, match[:message])
|
||||
|
|
Loading…
Reference in a new issue