diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-02-28 12:22:43 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-02-28 12:22:43 -0800 |
commit | a0c8791fe970954ba089194a7dc8e875bc9a66fa (patch) | |
tree | 064fa539c0b8231888cac74a176e18c9cca2d846 | |
parent | 47a7981148ea560b23c62a46705ffdbc92da8220 (diff) | |
download | chef-a0c8791fe970954ba089194a7dc8e875bc9a66fa.tar.gz |
also not a hash
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/knife/environment_compare.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/environment_compare.rb b/lib/chef/knife/environment_compare.rb index ebab1ee893..9131f06068 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_key do |env| + environments.each do |env, url| # rubocop:disable Performance/HashEachMethods # Because you cannot modify the default environment I filter it out here. unless env == "_default" envdata = Chef::Environment.load(env) |