summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/synchronizer.rb
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2015-07-31 14:43:53 -0700
committerNoah Kantrowitz <noah@coderanger.net>2015-07-31 14:43:53 -0700
commit85d3dfb6a361c774b6a1e4d4e437b836d5dd19cc (patch)
tree07d14077fccc95dd589bd793feabf77d0f94ebe1 /lib/chef/cookbook/synchronizer.rb
parent37efaeea757b266c37280df5b2d4857fa6967815 (diff)
downloadchef-85d3dfb6a361c774b6a1e4d4e437b836d5dd19cc.tar.gz
Revert back to the first argument being cookbook_name.
Diffstat (limited to 'lib/chef/cookbook/synchronizer.rb')
-rw-r--r--lib/chef/cookbook/synchronizer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/synchronizer.rb b/lib/chef/cookbook/synchronizer.rb
index 4979aabfdf..fc8e739d73 100644
--- a/lib/chef/cookbook/synchronizer.rb
+++ b/lib/chef/cookbook/synchronizer.rb
@@ -131,7 +131,7 @@ class Chef
files_remaining_by_cookbook[file.cookbook] -= 1
if files_remaining_by_cookbook[file.cookbook] == 0
- @events.synchronized_cookbook(file.cookbook)
+ @events.synchronized_cookbook(file.cookbook.name, file.cookbook)
end
end