diff options
author | Tim Smith <tsmith@chef.io> | 2018-11-06 14:29:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 14:29:34 -0800 |
commit | b46f0553ef6495ad81196d3065441600fd087762 (patch) | |
tree | 19b74d30f82a774735fcc54593286da599aed91c | |
parent | 22f2409cb88efa325fe1083f171bfa6aee5582dc (diff) | |
parent | 02b5f242997eab2c0ed614f306757e458ae7e6eb (diff) | |
download | chef-b46f0553ef6495ad81196d3065441600fd087762.tar.gz |
Merge pull request #7880 from chef/inspector_v2
resource inspector: don't convert nil to "nil" in default values
-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 1888f9a8bc..55a4d8e65d 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.inspect # inspect properly returns symbols + default.inspect unless default.nil? # inspect properly returns symbols end end |