summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-04-18 20:51:37 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-04-18 20:51:37 -0700
commitaf36eecfa3b4643e4c33f96d91d66b9dfdd2f931 (patch)
tree7fa379e05636b8729e4c655279cd35f8c604546f /lib/chef/dsl
parent7935d72de42bb7c9e5ac7332b4db4f9fb0ce7d5f (diff)
downloadchef-af36eecfa3b4643e4c33f96d91d66b9dfdd2f931.tar.gz
how did that get there?lcg/fix-resources-api-issues
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r--lib/chef/dsl/declare_resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/declare_resource.rb b/lib/chef/dsl/declare_resource.rb
index dbc05074c0..8d76ddfb31 100644
--- a/lib/chef/dsl/declare_resource.rb
+++ b/lib/chef/dsl/declare_resource.rb
@@ -273,7 +273,7 @@ class Chef
run_context: run_context,
cookbook_name: cookbook_name,
recipe_name: recipe_name,
- enclosing_provider: self.is_a?(Chef::Provider) ? self : nil,
+ enclosing_provider: self.is_a?(Chef::Provider) ? self : nil
).build(&resource_attrs_block)
end
end