summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-08-28 18:25:45 -0700
committerGitHub <noreply@github.com>2017-08-28 18:25:45 -0700
commit627635382ce5598871d617b26eb4097ebbe0c887 (patch)
tree01352fe4904271a2fae48722c96a474b36f18b02 /lib
parenta66c86fc444764cd0f135ad2e1109e50dac616cf (diff)
parentde7b8f9ea33dcd8b2554ba13bc1cd86c327547f4 (diff)
downloadchef-627635382ce5598871d617b26eb4097ebbe0c887.tar.gz
Merge pull request #6358 from chef/lcg/backport-6356
Chef-12: backport 6356
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/node/attribute.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb
index 4febd47b44..c84b102e09 100644
--- a/lib/chef/node/attribute.rb
+++ b/lib/chef/node/attribute.rb
@@ -559,10 +559,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|