summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-10-17 08:30:53 -0500
committertyler-ball <tyleraball@gmail.com>2014-10-17 08:30:53 -0500
commit9323a77206955327fef2f17a42ca5e66c864cb26 (patch)
treea02afc15ce5340d5a10906e5d6868f4b26f12f0f /lib/chef/dsl
parentb4adfb4cee189f2d3fdc534a24077269616cdd28 (diff)
downloadchef-9323a77206955327fef2f17a42ca5e66c864cb26.tar.gz
Cleaning up based on review comments
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r--lib/chef/dsl/recipe.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/recipe.rb b/lib/chef/dsl/recipe.rb
index b110371036..72de9e3662 100644
--- a/lib/chef/dsl/recipe.rb
+++ b/lib/chef/dsl/recipe.rb
@@ -86,7 +86,7 @@ class Chef
resource = build_resource(type, name, created_at, &resource_attrs_block)
- run_context.resource_collection.insert(resource, type, name)
+ run_context.resource_collection.insert(resource, resource_type:type, instance_name:name)
resource
end