diff options
Diffstat (limited to 'lib/chef/node/attribute_collections.rb')
-rw-r--r-- | lib/chef/node/attribute_collections.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/chef/node/attribute_collections.rb b/lib/chef/node/attribute_collections.rb index b8fd507336..a420563165 100644 --- a/lib/chef/node/attribute_collections.rb +++ b/lib/chef/node/attribute_collections.rb @@ -73,9 +73,7 @@ class Chef def convert_value(value) case value - when VividMash - value - when AttrArray + when VividMash, AttrArray value when Hash VividMash.new(value, __root__, __node__, __precedence__) @@ -159,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__) |