diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-03-16 13:58:47 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-16 14:54:15 -0700 |
commit | 7744187849fefa30baa3d09651eddf6f48943b1d (patch) | |
tree | 9b14093c315e4bf2a7dc829eb146e1de64e25657 /lib/chef/knife | |
parent | 8079d285cddbdccf419263bfe0da5e88b4be71c0 (diff) | |
download | chef-7744187849fefa30baa3d09651eddf6f48943b1d.tar.gz |
Update cop names for the latest Rubocop engine
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/environment_compare.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/list.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/environment_compare.rb b/lib/chef/knife/environment_compare.rb index 38e259a856..22abee59c8 100644 --- a/lib/chef/knife/environment_compare.rb +++ b/lib/chef/knife/environment_compare.rb @@ -81,7 +81,7 @@ class Chef def constraint_list(environments) constraints = {} - environments.each do |env, url| # rubocop:disable Performance/HashEachMethods + environments.each do |env, url| # rubocop:disable Style/HashEachMethods # Because you cannot modify the default environment I filter it out here. unless env == "_default" envdata = Chef::Environment.load(env) diff --git a/lib/chef/knife/list.rb b/lib/chef/knife/list.rb index e5e196ecea..1cc398e01a 100644 --- a/lib/chef/knife/list.rb +++ b/lib/chef/knife/list.rb @@ -90,7 +90,7 @@ class Chef # Flatten out directory results if necessary if config[:flat] - dir_results.each do |result, children| # rubocop:disable Performance/HashEachMethods + dir_results.each do |result, children| # rubocop:disable Style/HashEachMethods results += children end dir_results = [] |