diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-29 17:14:02 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-31 12:38:58 -0700 |
commit | 657e776fc4bb100d07b9057a7ebd079dccfe3df0 (patch) | |
tree | 066b8e4c2aec51d30553460f8896ebb2a1d76d36 | |
parent | 36b8f51ad6a745647a999c6ec5d5ebd721c11c6b (diff) | |
download | chef-657e776fc4bb100d07b9057a7ebd079dccfe3df0.tar.gz |
Fix inspector to properly handle defaults that are 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 |