diff options
author | Salim Alam <salam@chef.io> | 2016-03-03 16:19:19 -0800 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2016-03-03 16:19:19 -0800 |
commit | fc6b85bfb043bf3b93f0828216bf722fbdcd8aed (patch) | |
tree | 9c942a4d746aaf607677f11b83b88d6cfd20ac71 /lib/chef | |
parent | 829f15d621228d81226f69da940ca79f194deae6 (diff) | |
download | chef-fc6b85bfb043bf3b93f0828216bf722fbdcd8aed.tar.gz |
Data bag item hash can have name keysalam/databag-fix
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/data_bag_item.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/data_bag_item.rb b/lib/chef/data_bag_item.rb index 4d6e33ce1f..d9ad771202 100644 --- a/lib/chef/data_bag_item.rb +++ b/lib/chef/data_bag_item.rb @@ -128,7 +128,6 @@ class Chef def self.from_hash(h) h.delete("chef_type") h.delete("json_class") - h.delete("name") item = new item.data_bag(h.delete("data_bag")) if h.key?("data_bag") |