summaryrefslogtreecommitdiff
path: root/lib/chef/data_bag_item.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2017-03-14 16:22:51 +0000
committerThom May <thom@chef.io>2017-03-14 16:22:51 +0000
commitb0cb79f89d7ed5efafd81e01d28dcce1014f41b3 (patch)
treee3b79811ce7c78e90343e0f81241136777ca67b8 /lib/chef/data_bag_item.rb
parent12c54fbf916fcd4cd80cab3f3598a03da7d96fd1 (diff)
downloadchef-b0cb79f89d7ed5efafd81e01d28dcce1014f41b3.tar.gz
Kill JSON auto inflate with firetm/remove_json_autoinflate
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/data_bag_item.rb')
-rw-r--r--lib/chef/data_bag_item.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/data_bag_item.rb b/lib/chef/data_bag_item.rb
index 2bd27e3eef..ddb520dc0b 100644
--- a/lib/chef/data_bag_item.rb
+++ b/lib/chef/data_bag_item.rb
@@ -139,12 +139,6 @@ class Chef
item
end
- # Create a Chef::DataBagItem from JSON
- def self.json_create(o)
- Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please use Chef::DataBagItem#from_hash")
- from_hash(o)
- end
-
# Load a Data Bag Item by name via either the RESTful API or local data_bag_path if run in solo mode
def self.load(data_bag, name)
if Chef::Config[:solo_legacy_mode]