summaryrefslogtreecommitdiff
path: root/lib/chef/platform/resource_priority_map.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/platform/resource_priority_map.rb')
-rw-r--r--lib/chef/platform/resource_priority_map.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/platform/resource_priority_map.rb b/lib/chef/platform/resource_priority_map.rb
index eeff843ccf..5d96fd412b 100644
--- a/lib/chef/platform/resource_priority_map.rb
+++ b/lib/chef/platform/resource_priority_map.rb
@@ -14,8 +14,8 @@ class Chef
end
# @api private
- def delete_priority_array(resource_name, &block)
- priority_map.delete_if(resource_name, &block)
+ def delete_canonical(resource_name)
+ priority_map.delete_canonical(resource_name)
end
# @api private