summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-10-30 09:51:18 -0700
committerGitHub <noreply@github.com>2018-10-30 09:51:18 -0700
commitceeb7c1bdede286bdb66d87247ce4fb73b419c74 (patch)
tree3ad83eb48dc11ee6866260d4f6ae909406680115
parent848c85802809372ed3f62abb68c53bf42281ce24 (diff)
parent03e9f433c2d0e110ac893efd5ce9b378493b980c (diff)
downloadchef-ceeb7c1bdede286bdb66d87247ce4fb73b419c74.tar.gz
Merge pull request #7813 from chef/inspect_symbols
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