diff options
author | Salim Alam <salam@chef.io> | 2016-04-04 09:48:52 -0700 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2016-04-04 09:48:52 -0700 |
commit | fd09daab9df9a3b9bde05b0e70abab0dd861ef01 (patch) | |
tree | e9eeb5464c8ac00729f0a4c45b4b85d9b399865c | |
parent | 6689faacd533e3ab5c3fd26ae5137fd0e881d0a3 (diff) | |
parent | 87a3f603ca43eab115261981d85a90f9ab845d90 (diff) | |
download | chef-fd09daab9df9a3b9bde05b0e70abab0dd861ef01.tar.gz |
Merge pull request #4787 from chef/salam/ssh-fix
Convert timeout config to integer
-rw-r--r-- | lib/chef/knife/ssh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb index a3ed8eb3d0..31356b6f48 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -84,7 +84,7 @@ class Chef :short => "-t SECONDS", :long => "--ssh-timeout SECONDS", :description => "The ssh connection timeout", - :proc => Proc.new { |key| Chef::Config[:knife][:ssh_timeout] = key.strip } + :proc => Proc.new { |key| Chef::Config[:knife][:ssh_timeout] = key.strip.to_i } option :ssh_gateway, :short => "-G GATEWAY", |