summaryrefslogtreecommitdiff
path: root/lib/chef/knife/core
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-20 13:06:49 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-09-20 13:06:49 -0700
commite30aa05ac624d812645fceaf00fa7ec3b2176ef8 (patch)
tree5c4db9f3a47c0d35f34b09a07f836a4c73ff093b /lib/chef/knife/core
parent057c450f4aa02e7f97a9cce6d506899a190509c1 (diff)
downloadchef-e30aa05ac624d812645fceaf00fa7ec3b2176ef8.tar.gz
add another spec for chef_environment
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/knife/core')
-rw-r--r--lib/chef/knife/core/generic_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/generic_presenter.rb b/lib/chef/knife/core/generic_presenter.rb
index 323c2cf350..3f5c0712d0 100644
--- a/lib/chef/knife/core/generic_presenter.rb
+++ b/lib/chef/knife/core/generic_presenter.rb
@@ -187,7 +187,7 @@ class Chef
nil
end
end
- # necessary for coercing hashable non-attribute objects hanging off the node into real hashes
+ # necessary (?) for coercing objects (the run_list object?) to hashes
( !data.kind_of?(Array) && data.respond_to?(:to_hash) ) ? data.to_hash : data
end