libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/3] git commit: modified timeout in deploy node method. This was modified such that the the timeout is respected when passed as a kwargs.
Date Sat, 15 Jun 2013 04:35:16 GMT
modified timeout in deploy node method. This was modified such that the the timeout is respected
when passed as a kwargs.

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/03e70842
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/03e70842
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/03e70842

Branch: refs/heads/0.12.x
Commit: 03e7084230db162e31e20247e54aa427121a0203
Parents: e404295
Author: cloudnull <kevin.carter@rackspace.com>
Authored: Thu Jun 13 16:47:59 2013 -0500
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Jun 14 21:34:15 2013 -0700

----------------------------------------------------------------------
 libcloud/compute/base.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/03e70842/libcloud/compute/base.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py
index c271479..829ec37 100644
--- a/libcloud/compute/base.py
+++ b/libcloud/compute/base.py
@@ -658,7 +658,8 @@ class NodeDriver(BaseDriver):
         try:
             node, ip_addresses = self.wait_until_running(
                 nodes=[node],
-                wait_period=3, timeout=NODE_ONLINE_WAIT_TIMEOUT,
+                wait_period=3,
+                timeout=kwargs.get('timeout', NODE_ONLINE_WAIT_TIMEOUT),
                 ssh_interface=ssh_interface)[0]
         except Exception:
             e = sys.exc_info()[1]


Mime
View raw message