summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file/sftp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/remote_file/sftp.rb')
-rw-r--r--lib/chef/provider/remote_file/sftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/sftp.rb b/lib/chef/provider/remote_file/sftp.rb
index 21c5c4ca04..66540fea8c 100644
--- a/lib/chef/provider/remote_file/sftp.rb
+++ b/lib/chef/provider/remote_file/sftp.rb
@@ -58,7 +58,7 @@ class Chef
def sftp
host = port ? "#{hostname}:#{port}" : hostname
- @sftp ||= Net::SFTP.start(host, user, :password => pass)
+ @sftp ||= Net::SFTP.start(host, user, password: pass)
end
def pass