libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/2] git commit: Change create_image API call params from Reboot to NoReboot and negated set logic
Date Tue, 29 Apr 2014 06:40:00 GMT
Change create_image API call params from Reboot to NoReboot and negated set logic

Closes #284

Signed-off-by: Tomaz Muraus <tomaz@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/793e8544
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/793e8544
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/793e8544

Branch: refs/heads/trunk
Commit: 793e85440789aaf1ade81220789d1465a7c0f1ee
Parents: 644de1d
Author: Matthew Lehman <lehmanm@battelle.org>
Authored: Tue Apr 29 00:05:32 2014 -0400
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Tue Apr 29 08:26:15 2014 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/ec2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/793e8544/libcloud/compute/drivers/ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py
index 0a57b0b..8c1b046 100644
--- a/libcloud/compute/drivers/ec2.py
+++ b/libcloud/compute/drivers/ec2.py
@@ -1811,7 +1811,7 @@ class BaseEC2NodeDriver(NodeDriver):
         params = {'Action': 'CreateImage',
                   'InstanceId': node.id,
                   'Name': name,
-                  'Reboot': reboot}
+                  'NoReboot': not reboot}
 
         if description is not None:
             params['Description'] = description


Mime
View raw message