summaryrefslogtreecommitdiff
path: root/lib/chef/deprecation
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/deprecation')
-rw-r--r--lib/chef/deprecation/warnings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/deprecation/warnings.rb b/lib/chef/deprecation/warnings.rb
index d6a9cbe374..376629710e 100644
--- a/lib/chef/deprecation/warnings.rb
+++ b/lib/chef/deprecation/warnings.rb
@@ -27,7 +27,7 @@ class Chef
message = []
message << "Method '#{name}' of '#{self.class}' is deprecated. It will be removed in Chef 13."
message << "Please update your cookbooks accordingly."
- Chef.log.deprecation(message, caller(0..3))
+ Chef.log_deprecation(message, caller(0..3))
super(*args)
end
end