diff options
author | John Keiser <john@johnkeiser.com> | 2015-06-08 15:10:08 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-23 14:42:28 -0700 |
commit | 498293c8ac5398b12f8599f8fcd3a37edcd0c729 (patch) | |
tree | c037217f3859269b880ec025c3ab8e280d9e5049 /lib/chef | |
parent | 59b12d0237c7879c18f96ef5e962a7cd592df142 (diff) | |
download | chef-498293c8ac5398b12f8599f8fcd3a37edcd0c729.tar.gz |
Don't modify provider_for_action, just use "provider"
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index 4865643d33..bae7608f5b 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -1309,8 +1309,7 @@ class Chef end def provider_for_action(action) - provider_class = self.class.action_provider_class - provider_class ||= Chef::ProviderResolver.new(node, self, action).resolve + provider_class = Chef::ProviderResolver.new(node, self, action).resolve provider = provider_class.new(self, run_context) provider.action = action provider |