summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-05 13:26:53 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-05 13:26:53 -0700
commit3b10f9ca503dcbce747241281b9151d3d010f9ef (patch)
tree2e90f78a6910a4c673e19045a7f0627f1fc49382 /lib/chef/knife.rb
parent2a4916b7f01940d1199c35645c1b2172f5bd74b2 (diff)
downloadchef-3b10f9ca503dcbce747241281b9151d3d010f9ef.tar.gz
Style/SymbolProc
enforce pretzels. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r--lib/chef/knife.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index 0617c79e8e..28634d9e44 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -231,9 +231,7 @@ class Chef
end
def self.load_deps
- dependency_loaders.each do |dep_loader|
- dep_loader.call
- end
+ dependency_loaders.each(&:call)
end
OFFICIAL_PLUGINS = %w{ec2 rackspace windows openstack azure google linode push vcenter lpar}.freeze