summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/data_handler/cookbook_data_handler.rb')
-rw-r--r--lib/chef/chef_fs/data_handler/cookbook_data_handler.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb b/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb
index 56b7e0b765..0f2cad7983 100644
--- a/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb
+++ b/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb
@@ -15,12 +15,12 @@ class Chef
'json_class' => 'Chef::CookbookVersion',
'chef_type' => 'cookbook_version',
'frozen?' => false,
- 'metadata' => {}
- })
+ 'metadata' => {},
+ },)
result['metadata'] = normalize_hash(result['metadata'], {
'version' => version,
- 'name' => name
- })
+ 'name' => name,
+ },)
end
def preserve_key?(key)