summaryrefslogtreecommitdiff
path: root/lib/chef/node/attribute.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-28 16:01:41 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-25 09:29:29 -0700
commitc38fd335b667ccc8dcb1a0ae276be44f344c9fea (patch)
treeed7aee19dc9c988be7d49a4f58df8a815ee4a8b0 /lib/chef/node/attribute.rb
parent55432829161a0294f2be81fe6064d6914bad9384 (diff)
downloadchef-c38fd335b667ccc8dcb1a0ae276be44f344c9fea.tar.gz
green tests
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/node/attribute.rb')
-rw-r--r--lib/chef/node/attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb
index 8f2fdb7956..747f7f623c 100644
--- a/lib/chef/node/attribute.rb
+++ b/lib/chef/node/attribute.rb
@@ -565,7 +565,7 @@ class Chef
return nil if components.compact.empty?
- components.inject(ImmutableMash.new(self, {})) do |merged, component|
+ components.inject(ImmutableMash.new({}, self)) do |merged, component|
Chef::Mixin::DeepMerge.hash_only_merge!(merged, component)
end
end