diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-01-21 20:43:09 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-01-21 20:43:09 -0800 |
commit | 204783996d0dbe274675c935fce5f84f15c8c40a (patch) | |
tree | c4c032d4a5ecb8f59d04b2885f054d914c875012 /lib/chef/provider.rb | |
parent | 67a19dfb20c787a84a905859f3e6e76faa106bab (diff) | |
download | chef-204783996d0dbe274675c935fce5f84f15c8c40a.tar.gz |
Fix most Ruby 2.7 test failureslcg/ruby-2.7.0
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r-- | lib/chef/provider.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb index 93d2578414..3fa097ce38 100644 --- a/lib/chef/provider.rb +++ b/lib/chef/provider.rb @@ -1,7 +1,7 @@ # # Author:: Adam Jacob (<adam@chef.io>) # Author:: Christopher Walters (<cw@chef.io>) -# Copyright:: Copyright 2008-2016, 2009-2019, Chef Software Inc. +# Copyright:: Copyright 2008-2016, 2009-2020, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -334,7 +334,7 @@ class Chef end def self.provides(short_name, opts = {}, &block) - Chef.provider_handler_map.set(short_name, self, opts, &block) + Chef.provider_handler_map.set(short_name, self, **opts, &block) end def self.provides?(node, resource) |