From ca633b92e7a4a0c17c8bb516c81c1041c5171042 Mon Sep 17 00:00:00 2001 From: geemus Date: Sun, 5 Dec 2010 12:36:58 -0800 Subject: [PATCH] [aws|compute] don't kill auth errors in setup --- lib/fog/aws/models/compute/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/models/compute/server.rb b/lib/fog/aws/models/compute/server.rb index 39d3d8f9e..329f909af 100644 --- a/lib/fog/aws/models/compute/server.rb +++ b/lib/fog/aws/models/compute/server.rb @@ -167,7 +167,7 @@ module Fog Timeout::timeout(4) do Fog::SSH.new(ip_address, username, credentials).run(commands) end - rescue Net::SSH::AuthenticationFailed, Timeout::Error + rescue Timeout::Error retry end end