diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-08-28 16:15:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-28 16:15:18 -0700 |
commit | d87ab147033825a435fbaa3a631d44eef12480a8 (patch) | |
tree | b3c986c31c9eb8b725258fb4296040759d48a62f | |
parent | 3377132e5fcf67312aa3f8475efcdf7a4869fbdd (diff) | |
parent | 97ff2328940427ee6fc28dd031b300fccd9041ff (diff) | |
download | chef-d87ab147033825a435fbaa3a631d44eef12480a8.tar.gz |
Merge pull request #6356 from chef/lcg/remove-useless-dup
node attributes: remove useless dup in merge_all
-rw-r--r-- | lib/chef/node/attribute.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb index 57d1b0a4d3..a6443df62c 100644 --- a/lib/chef/node/attribute.rb +++ b/lib/chef/node/attribute.rb @@ -536,10 +536,6 @@ class Chef apply_path(@automatic, path), ] - components.map! do |component| - safe_dup(component) - end - return nil if components.compact.empty? components.inject(ImmutableMash.new({}, self, __node__, :merged)) do |merged, component| |