summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file/ftp.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-03-06 09:56:31 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-03-06 09:56:31 -0800
commit9e679b833c2a3203a12102f9a1b024f87d0b23f2 (patch)
treee6e5946d5b37a88b7550e73282bf785ce283f961 /lib/chef/provider/remote_file/ftp.rb
parent95510896fdf938be5e8631b96719053805e04ec2 (diff)
downloadchef-9e679b833c2a3203a12102f9a1b024f87d0b23f2.tar.gz
fix Lint/UnusedMethodArgumentlcg/unused_method_argument
appends '_' to all unused method arguments, autogenerated from rubocop.
Diffstat (limited to 'lib/chef/provider/remote_file/ftp.rb')
-rw-r--r--lib/chef/provider/remote_file/ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/ftp.rb b/lib/chef/provider/remote_file/ftp.rb
index 3f78286aa3..d6a811abfd 100644
--- a/lib/chef/provider/remote_file/ftp.rb
+++ b/lib/chef/provider/remote_file/ftp.rb
@@ -147,7 +147,7 @@ class Chef
end
#adapted from buildr/lib/buildr/core/transports.rb via chef/rest/rest_client.rb
- def proxy_uri(uri)
+ def proxy_uri(_uri)
proxy = Chef::Config["ftp_proxy"]
proxy = URI.parse(proxy) if String === proxy
if Chef::Config["ftp_proxy_user"]