diff options
Diffstat (limited to 'lib/chef/knife/core/ui.rb')
-rw-r--r-- | lib/chef/knife/core/ui.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/knife/core/ui.rb b/lib/chef/knife/core/ui.rb index 1fc6d3d0e2..d809a8fc45 100644 --- a/lib/chef/knife/core/ui.rb +++ b/lib/chef/knife/core/ui.rb @@ -180,8 +180,7 @@ class Chef if parse_output if object_class.nil? - Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please pass in the class to inflate or use #edit_hash") - Chef::JSONCompat.from_json(output) + raise ArgumentError, "Please pass in the object class to hydrate or use #edit_hash" else object_class.from_hash(Chef::JSONCompat.parse(output)) end |