diff options
author | John Keiser <john@johnkeiser.com> | 2015-02-11 16:06:31 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2015-02-17 09:24:09 -0500 |
commit | 2bc18e9dfbb23bfd74408b0c2bdec46abc616975 (patch) | |
tree | 5e1593b8c507b23914a42ed0ea2b15a2dd1b2499 /lib/chef/resource_builder.rb | |
parent | aa9b233614da81c506929cc1c36eb509a4e2c97e (diff) | |
download | chef-2bc18e9dfbb23bfd74408b0c2bdec46abc616975.tar.gz |
Add comments, fix faulty ||=
Diffstat (limited to 'lib/chef/resource_builder.rb')
-rw-r--r-- | lib/chef/resource_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_builder.rb b/lib/chef/resource_builder.rb index e076856479..bb0962d128 100644 --- a/lib/chef/resource_builder.rb +++ b/lib/chef/resource_builder.rb @@ -90,7 +90,7 @@ class Chef # Checks the new platform => short_name => resource mapping initially # then fall back to the older approach (Chef::Resource.const_get) for # backward compatibility - resource_class ||= Chef::Resource.resource_for_node(type, run_context.node) + @resource_class ||= Chef::Resource.resource_for_node(type, run_context.node) end def is_trivial_resource?(resource) |