diff options
author | Thom May <thom@may.lt> | 2016-01-21 11:14:49 +0000 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-01-21 11:14:49 +0000 |
commit | b2287acca8df58079205979ab2ba956d0e281fe5 (patch) | |
tree | 471e241d05effbe9d2b470588c1ff0f647952741 /lib/chef/knife | |
parent | 38e4b8ad4a1d701878595c7822636f3cbb7f7af9 (diff) | |
parent | 3458740dc59959e0eaa88543883756d041435d56 (diff) | |
download | chef-b2287acca8df58079205979ab2ba956d0e281fe5.tar.gz |
Merge pull request #4423 from chef/tm/rest_deprecation
Add deprecation warnings to Chef::REST and all json_creates
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/core/object_loader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/object_loader.rb b/lib/chef/knife/core/object_loader.rb index 69c2428bd4..063c192728 100644 --- a/lib/chef/knife/core/object_loader.rb +++ b/lib/chef/knife/core/object_loader.rb @@ -93,7 +93,7 @@ class Chef if @klass == Chef::DataBagItem r else - @klass.json_create(r) + @klass.from_hash(r) end when /\.rb$/ r = klass.new |