diff options
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r-- | lib/chef/role.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb index 331fa614f1..218894ef03 100644 --- a/lib/chef/role.rb +++ b/lib/chef/role.rb @@ -170,7 +170,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") + Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please use Chef::Role#from_hash") from_hash(o) end |