summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-09-01 10:17:33 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-09-01 10:17:33 -0700
commitc36dbb0e46e8442b33fcec5902867162c6e9105e (patch)
tree395fad9d5c82119205bc9d49371b20ac1c9dd67e
parente3adc4a72109c09b28dd8f6589336de85e482e12 (diff)
downloadchef-lcg/deep-merge-testing.tar.gz
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/node/attribute.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb
index 2998866bb2..6a5c79f5a6 100644
--- a/lib/chef/node/attribute.rb
+++ b/lib/chef/node/attribute.rb
@@ -604,9 +604,9 @@ class Chef
# In all other cases, replace merge_onto with merge_with
else
if merge_with.kind_of?(Hash)
- Chef::Node::VividMash.new(merge_with)
+ Chef::Node::ImmutableMash.new(merge_with)
elsif merge_with.kind_of?(Array)
- Chef::Node::AttrArray.new(merge_with)
+ Chef::Node::ImmutableArray.new(merge_with)
else
merge_with
end