diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-09-26 22:22:29 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-09-26 22:22:29 -0700 |
commit | 8400f4cb7d977896531ae277fdcf3398dc2d4c6c (patch) | |
tree | 33b8b5ba385366457de4990636daa143d64f1043 /lib/chef/json_compat.rb | |
parent | 8daa1c6598182777802eba6a74928f28a32f6835 (diff) | |
download | chef-8400f4cb7d977896531ae277fdcf3398dc2d4c6c.tar.gz |
replace some instances of to_hash with to_hlcg/to-h-cleanup
to_hash on a lot of these objects should go away, but even eliminating
all our calls to to_hash on these objects internally is difficult.
(e.g. converting the knife ui code to call #to_h means we wind up
calling nil#to_h which "helpfully" becomes '{}' which is hilarious and
i don't know why someone thought that was a good idea).
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/json_compat.rb')
-rw-r--r-- | lib/chef/json_compat.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/json_compat.rb b/lib/chef/json_compat.rb index 00052208d2..1ce54b68bc 100644 --- a/lib/chef/json_compat.rb +++ b/lib/chef/json_compat.rb @@ -1,6 +1,6 @@ # # Author:: Tim Hinderliter (<tim@chef.io>) -# Copyright:: Copyright 2010-2016, Chef Software Inc. +# Copyright:: Copyright 2010-2018, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); |