summaryrefslogtreecommitdiff
path: root/lib/chef/chef_class.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-07-06 12:10:33 -0600
committerJohn Keiser <john@johnkeiser.com>2015-07-06 12:10:33 -0600
commit59eb936978e7286fc8da4c87ba38577cef80f4c9 (patch)
treed532fa94c2aba511049563a7fea9215a63436a98 /lib/chef/chef_class.rb
parent591b5599f5412faa382e45d035d76535cd93736a (diff)
downloadchef-59eb936978e7286fc8da4c87ba38577cef80f4c9.tar.gz
Memoize enabled_handlers so it is not recomputedjk/separate-priority-map
Diffstat (limited to 'lib/chef/chef_class.rb')
-rw-r--r--lib/chef/chef_class.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/chef_class.rb b/lib/chef/chef_class.rb
index 563e06434b..5cf4f95af5 100644
--- a/lib/chef/chef_class.rb
+++ b/lib/chef/chef_class.rb
@@ -162,8 +162,8 @@ class Chef
@node = nil
@provider_priority_map = nil
@resource_priority_map = nil
- @provider_dsl_map = nil
- @resource_dsl_map = nil
+ @provider_handler_map = nil
+ @resource_handler_map = nil
end
# @api private