From 7589c54e569fb23f8d5ecb3037f7220d19ef0704 Mon Sep 17 00:00:00 2001 From: Kyle Rames Date: Tue, 5 Feb 2013 10:29:21 -0600 Subject: [PATCH] [rackspace|compute] removed timeout from bootstrap method signature and hard coded it in method per geemus --- lib/fog/rackspace/models/compute_v2/servers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/rackspace/models/compute_v2/servers.rb b/lib/fog/rackspace/models/compute_v2/servers.rb index 8cddce40a..b069e4225 100644 --- a/lib/fog/rackspace/models/compute_v2/servers.rb +++ b/lib/fog/rackspace/models/compute_v2/servers.rb @@ -14,9 +14,9 @@ module Fog load(data) end - def bootstrap(new_attributes = {}, timeout=1500) + def bootstrap(new_attributes = {}) server = create(new_attributes) - server.wait_for(timeout) { ready? && !ipv4_address.empty? } + server.wait_for(1500) { ready? && !ipv4_address.empty? } server.setup(:password => server.password) server end