diff options
author | Thom May <thom@chef.io> | 2016-01-18 15:14:31 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-18 15:14:31 +0000 |
commit | 0ef0ab07531ae78cb4052242037227b0fb5365dc (patch) | |
tree | 64100fafb9164d7af2f94475c28a53f65c9b422f /lib/chef/role.rb | |
parent | 808fe8b34254c2747d333205f7f7cdb4224cf8aa (diff) | |
download | chef-0ef0ab07531ae78cb4052242037227b0fb5365dc.tar.gz |
add deprecation warnings
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r-- | lib/chef/role.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb index fa76129af2..d607a1be98 100644 --- a/lib/chef/role.rb +++ b/lib/chef/role.rb @@ -171,6 +171,7 @@ class Chef # Create a Chef::Role from JSON def self.json_create(o) + Chef.log_deprecation("Auto inflation of JSON data is deprecated. Please use Chef::Role#from_hash") from_hash(o) end |