diff options
author | Salim Alam <salam@chef.io> | 2016-04-01 15:26:14 -0700 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2016-04-01 16:45:26 -0700 |
commit | 87a3f603ca43eab115261981d85a90f9ab845d90 (patch) | |
tree | e9eeb5464c8ac00729f0a4c45b4b85d9b399865c /lib | |
parent | 6689faacd533e3ab5c3fd26ae5137fd0e881d0a3 (diff) | |
download | chef-87a3f603ca43eab115261981d85a90f9ab845d90.tar.gz |
Convert timeout config to integersalam/ssh-fix
Diffstat (limited to 'lib')
-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", |