You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2014/04/29 08:40:00 UTC

[2/2] git commit: Change create_image API call params from Reboot to NoReboot and negated set logic

Change create_image API call params from Reboot to NoReboot and negated set logic

Closes #284

Signed-off-by: Tomaz Muraus <to...@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 <le...@battelle.org>
Authored: Tue Apr 29 00:05:32 2014 -0400
Committer: Tomaz Muraus <to...@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