diff --git a/lib/fog/aws/auto_scaling.rb b/lib/fog/aws/auto_scaling.rb index 76bc00119..6eeaea536 100644 --- a/lib/fog/aws/auto_scaling.rb +++ b/lib/fog/aws/auto_scaling.rb @@ -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