[pkg-eucalyptus-commits] [SCM] managing cloud instances for Eucalyptus branch, master, updated. 3.0.0-alpha3-257-g1da8e3a
Garrett Holmstrom
gholms at fedoraproject.org
Sun Jun 16 02:30:28 UTC 2013
The following commit has been merged in the master branch:
commit fa985b92e963b13f2f2181f6deeb1a88e161dc8e
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date: Tue Feb 26 15:50:12 2013 -0800
Fix autoscaling error parsing
diff --git a/euca2ools/commands/autoscaling/__init__.py b/euca2ools/commands/autoscaling/__init__.py
index 5456536..72a0187 100644
--- a/euca2ools/commands/autoscaling/__init__.py
+++ b/euca2ools/commands/autoscaling/__init__.py
@@ -28,6 +28,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
+from euca2ools.exceptions import AWSError
from requestbuilder import Arg, SERVICE
import requestbuilder.auth
import requestbuilder.service
@@ -41,6 +42,9 @@ class AutoScaling(requestbuilder.service.BaseService):
AUTH_CLASS = requestbuilder.auth.QuerySigV2Auth
URL_ENVVAR = 'AWS_AUTO_SCALING_URL'
+ def handle_http_error(self, response):
+ raise AWSError(response)
+
class AutoScalingRequest(requestbuilder.request.AWSQueryRequest):
SUITE = Euca2ools
SERVICE_CLASS = AutoScaling
--
managing cloud instances for Eucalyptus
More information about the pkg-eucalyptus-commits
mailing list