diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-11-06 12:04:32 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-11-06 12:04:32 -0800 |
commit | e3bbd4e45bc55d63b886e0728abd82ecf92f3b7b (patch) | |
tree | c078c964551fb19e6a0c523aea33e0527ea88817 | |
parent | c6fad3888a03eeab41b63df0c9cbdea5a48f7e97 (diff) | |
download | chef-e3bbd4e45bc55d63b886e0728abd82ecf92f3b7b.tar.gz |
Collapse another one
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/node/attribute_collections.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/node/attribute_collections.rb b/lib/chef/node/attribute_collections.rb index 1b09be7da2..a420563165 100644 --- a/lib/chef/node/attribute_collections.rb +++ b/lib/chef/node/attribute_collections.rb @@ -157,9 +157,7 @@ class Chef # attribute tree will have the correct cache invalidation behavior. def convert_value(value) case value - when VividMash - value - when AttrArray + when VividMash, AttrArray value when Hash VividMash.new(value, __root__, __node__, __precedence__) |