summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-01-18 15:14:31 +0000
committerThom May <thom@chef.io>2016-01-18 15:14:31 +0000
commit0ef0ab07531ae78cb4052242037227b0fb5365dc (patch)
tree64100fafb9164d7af2f94475c28a53f65c9b422f /lib/chef/node.rb
parent808fe8b34254c2747d333205f7f7cdb4224cf8aa (diff)
downloadchef-0ef0ab07531ae78cb4052242037227b0fb5365dc.tar.gz
add deprecation warnings
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index d7b0bf5948..b9ef200e91 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -532,6 +532,7 @@ class Chef
# Create a Chef::Node from JSON
def self.json_create(o)
+ Chef.log_deprecation("Auto inflation of JSON data is deprecated. Please use Chef::Node#from_hash")
from_hash(o)
end