mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|aws] Fix NameError.
Exception handling seems to be been forgotten, when AWS moved in Fog::Compute namespace.
This commit is contained in:
parent
8fab2e4790
commit
d06ddbe7f3
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ module Fog
|
|||
when 'ValidationError'
|
||||
raise Fog::AWS::AutoScaling::ValidationError.slurp(error, match[2])
|
||||
else
|
||||
raise Fog::AWS::Compute::Error.slurp(error, "#{match[1]} => #{match[2]}")
|
||||
raise Fog::Compute::AWS::Error.slurp(error, "#{match[1]} => #{match[2]}")
|
||||
end
|
||||
else
|
||||
raise
|
||||
|
|
Loading…
Add table
Reference in a new issue