diff options
Diffstat (limited to 'chef-server-api/app/controllers/nodes.rb')
-rw-r--r-- | chef-server-api/app/controllers/nodes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef-server-api/app/controllers/nodes.rb b/chef-server-api/app/controllers/nodes.rb index e71b8acea1..72564f02fe 100644 --- a/chef-server-api/app/controllers/nodes.rb +++ b/chef-server-api/app/controllers/nodes.rb @@ -106,8 +106,8 @@ class Nodes < Application # to # name => cookbook manifest # and display. - display(included_cookbooks.inject({}) do |acc, (cookbook_name, cookbook)| - acc[cookbook_name.to_s] = cookbook.generate_manifest_with_urls{|opts| absolute_url(:cookbook_file, opts) } + display(included_cookbooks.inject({}) do |acc, (cookbook_name, cookbook_version)| + acc[cookbook_name.to_s] = cookbook_version.generate_manifest_with_urls{|opts| absolute_url(:cookbook_file, opts) } acc end) end |