From d06ddbe7f3b99be459a5bd4798a8e38eecaba35d Mon Sep 17 00:00:00 2001 From: Jens Braeuer Date: Fri, 9 Sep 2011 16:50:04 +0200 Subject: [PATCH] [compute|aws] Fix NameError. Exception handling seems to be been forgotten, when AWS moved in Fog::Compute namespace. --- lib/fog/aws/auto_scaling.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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