summaryrefslogtreecommitdiff
path: root/lib/chef/provider.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-06 16:17:53 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-02 09:53:39 -0700
commit9fae7c1c1cf6f75834e309692a6b45dcbab11de1 (patch)
treeaf3af923d962956f687cd69447dffc5d607742fd /lib/chef/provider.rb
parentea5c98fd538dd07d3dd98ab2cf01f6e99c0fe31c (diff)
downloadchef-9fae7c1c1cf6f75834e309692a6b45dcbab11de1.tar.gz
Fix resource unit test
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r--lib/chef/provider.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb
index 984ad0974a..8027e39a3f 100644
--- a/lib/chef/provider.rb
+++ b/lib/chef/provider.rb
@@ -176,8 +176,7 @@ class Chef
end
def self.provides(short_name, opts={}, &block)
- priority_map = Chef::Platform::ProviderPriorityMap.instance
- priority_map.priority(short_name, self, opts, &block)
+ Chef.set_provider_priority_array(short_name, self, opts, &block)
end
def self.provides?(node, resource)