diff options
Diffstat (limited to 'lib/chef/key.rb')
-rw-r--r-- | lib/chef/key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/key.rb b/lib/chef/key.rb index 38822e8b26..d19ff433a3 100644 --- a/lib/chef/key.rb +++ b/lib/chef/key.rb @@ -223,7 +223,7 @@ class Chef end def json_create(json) - Chef.log_deprecation("Auto inflation of JSON data is deprecated. Please use Chef::Key#from_json or one of the load_by methods.") + Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please use Chef::Key#from_json or one of the load_by methods.") Chef::Key.from_json(json) end |