summaryrefslogtreecommitdiff
path: root/chef/lib/chef/resource/git.rb
diff options
context:
space:
mode:
authorChris Walters, Tim Hinderliter <cw@opscode.com,tim@opscode.com>2010-05-17 15:36:00 -0700
committerDaniel DeLeo <dan@opscode.com>2010-06-03 12:21:56 -0700
commitf4df0cbba21e498b566a209cd385021d1325db79 (patch)
tree91c7fe225d2768bfe231ed408b1638d2bb479985 /chef/lib/chef/resource/git.rb
parentb678ce8f7b08f007f21425437225077d68293954 (diff)
downloadchef-f4df0cbba21e498b566a209cd385021d1325db79.tar.gz
Changing Resources to use new initializer
Diffstat (limited to 'chef/lib/chef/resource/git.rb')
-rw-r--r--chef/lib/chef/resource/git.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/chef/lib/chef/resource/git.rb b/chef/lib/chef/resource/git.rb
index b95982eabc..dbf00a4a08 100644
--- a/chef/lib/chef/resource/git.rb
+++ b/chef/lib/chef/resource/git.rb
@@ -22,8 +22,8 @@ class Chef
class Resource
class Git < Chef::Resource::Scm
- def initialize(name, collection=nil, node=nil)
- super(name, collection, node)
+ def initialize(name, run_context)
+ super
@resource_name = :git
@provider = Chef::Provider::Git
end
@@ -33,4 +33,4 @@ class Chef
end
end
-end \ No newline at end of file
+end