diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-29 17:14:02 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-29 17:15:14 -0700 |
commit | 03e9f433c2d0e110ac893efd5ce9b378493b980c (patch) | |
tree | 3ad83eb48dc11ee6866260d4f6ae909406680115 | |
parent | 848c85802809372ed3f62abb68c53bf42281ce24 (diff) | |
download | chef-03e9f433c2d0e110ac893efd5ce9b378493b980c.tar.gz |
Fix inspector to properly handle defaults that are symbolsinspect_symbols
We need to .inspect these so the default value is a symbol not the
string version of the symbol.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource_inspector.rb | 2 |
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 |