summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-31 14:02:48 -0700
committerGitHub <noreply@github.com>2018-10-31 14:02:48 -0700
commite74051f91f528f7281691f8e85088ef54d2ec2ae (patch)
treec6e5774f59dfbce429ca9def9d35e34cc555c3fd
parent709be01ca7680397fcc805936614e4cbf0d21eb8 (diff)
parent657e776fc4bb100d07b9057a7ebd079dccfe3df0 (diff)
downloadchef-e74051f91f528f7281691f8e85088ef54d2ec2ae.tar.gz
Merge pull request #7826 from chef/inspector_14
Backport: Fix inspector to properly handle defaults that are symbols
-rw-r--r--lib/chef/resource_inspector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_inspector.rb b/lib/chef/resource_inspector.rb
index 1a49f05b72..1888f9a8bc 100644
--- a/lib/chef/resource_inspector.rb
+++ b/lib/chef/resource_inspector.rb
@@ -31,7 +31,7 @@ module ResourceInspector
# code for the resource ourselves and just no
"lazy default"
else
- default
+ default.inspect # inspect properly returns symbols
end
end