summaryrefslogtreecommitdiff
path: root/lib/chef/platform
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-05 14:47:18 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-08 09:01:55 -0700
commit3dcaddb86dc85a4cf730e675232ce83f97d5726b (patch)
tree950b87bae166f85b45edf7552dee6891153e8125 /lib/chef/platform
parentc65de79dbd662d895c8a10ef496d7eb9c69376c2 (diff)
downloadchef-3dcaddb86dc85a4cf730e675232ce83f97d5726b.tar.gz
Make sure resource_name :x only removes automatic provides from that class
Diffstat (limited to 'lib/chef/platform')
-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 5d96fd412b..fb08debc53 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_canonical(resource_name)
- priority_map.delete_canonical(resource_name)
+ def delete_canonical(resource_name, resource_class)
+ priority_map.delete_canonical(resource_name, resource_class)
end
# @api private