1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #503 from jbraeuer/tiny-fixes

[compute|aws] Fix NameError.
This commit is contained in:
Wesley Beary 2011-09-09 08:00:58 -07:00
commit dba30fba4b

View file

@ -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