diff options
author | John Keiser <john@johnkeiser.com> | 2015-09-01 13:21:02 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-09-01 19:30:51 -0700 |
commit | f975355dc9cb9ef73ff86471a32bfac459efeb7a (patch) | |
tree | 32b4254108a03359934d1da1a4e7e7822086ab87 /lib/chef/provider.rb | |
parent | 386468df5441f4a75865bccfd9314f883e5f39ff (diff) | |
download | chef-f975355dc9cb9ef73ff86471a32bfac459efeb7a.tar.gz |
Rename log.deprecation to log_deprecation
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r-- | lib/chef/provider.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb index 5f2430e26e..3138704a55 100644 --- a/lib/chef/provider.rb +++ b/lib/chef/provider.rb @@ -421,7 +421,7 @@ class Chef module DeprecatedLWRPClass def const_missing(class_name) if deprecated_constants[class_name.to_sym] - Chef.log.deprecation("Using an LWRP provider by its name (#{class_name}) directly is no longer supported in Chef 12 and will be removed. Use Chef::ProviderResolver.new(node, resource, action) instead.") + Chef.log_deprecation("Using an LWRP provider by its name (#{class_name}) directly is no longer supported in Chef 12 and will be removed. Use Chef::ProviderResolver.new(node, resource, action) instead.") deprecated_constants[class_name.to_sym] else raise NameError, "uninitialized constant Chef::Provider::#{class_name}" |