[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:31:22 UTC 2013


The following commit has been merged in the master branch:
commit cb0728d53773ba1f572804c42c40c17889d37cdd
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Thu May 9 15:55:20 2013 -0700

    Make RegisterImage add mappings to params, not args (future-proofing)

diff --git a/euca2ools/commands/euca/registerimage.py b/euca2ools/commands/euca/registerimage.py
index f785a98..88176a8 100644
--- a/euca2ools/commands/euca/registerimage.py
+++ b/euca2ools/commands/euca/registerimage.py
@@ -92,7 +92,7 @@ class RegisterImage(EucalyptusRequest):
                         break
             else:
                 if snapshot:
-                    self.args['BlockDeviceMapping'].append(
+                    self.params['BlockDeviceMapping'].append(
                             {'DeviceName': self.args['RootDeviceName'],
                              'Ebs': {'SnapshotId': snapshot}})
                 else:

-- 
managing cloud instances for Eucalyptus



More information about the pkg-eucalyptus-commits mailing list