diff options
author | Thom May <thom@chef.io> | 2017-03-14 16:22:51 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2017-03-14 16:22:51 +0000 |
commit | b0cb79f89d7ed5efafd81e01d28dcce1014f41b3 (patch) | |
tree | e3b79811ce7c78e90343e0f81241136777ca67b8 /lib/chef/user.rb | |
parent | 12c54fbf916fcd4cd80cab3f3598a03da7d96fd1 (diff) | |
download | chef-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/user.rb')
-rw-r--r-- | lib/chef/user.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/user.rb b/lib/chef/user.rb index fffaa106f8..f52d0e2555 100644 --- a/lib/chef/user.rb +++ b/lib/chef/user.rb @@ -152,11 +152,6 @@ class Chef Chef::User.from_hash(Chef::JSONCompat.from_json(json)) end - def self.json_create(json) - Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please use Chef::User#from_json or Chef::User#load.") - Chef::User.from_json(json) - end - def self.list(inflate = false) response = Chef::ServerAPI.new(Chef::Config[:chef_server_url], { :api_version => "0" }).get("users") users = if response.is_a?(Array) |