summaryrefslogtreecommitdiff
path: root/lib/chef/node_map.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/node_map.rb')
-rw-r--r--lib/chef/node_map.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/node_map.rb b/lib/chef/node_map.rb
index ed183a70ee..29d008ae38 100644
--- a/lib/chef/node_map.rb
+++ b/lib/chef/node_map.rb
@@ -120,6 +120,9 @@ class Chef
# Remove a class from all its matchers in the node_map, will remove mappings completely if its the last matcher left
#
+ # Note that this leaks the internal structure out a bit, but the main consumer of this (poise/halite) cares only about
+ # the keys in the returned Hash.
+ #
# @param klass [Class] the class to seek and destroy
#
# @return [Hash] deleted entries in the same format as the @map