summaryrefslogtreecommitdiff
path: root/lib/chef/deprecation
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-09-01 13:21:02 -0700
committerJohn Keiser <john@johnkeiser.com>2015-09-01 19:30:51 -0700
commitf975355dc9cb9ef73ff86471a32bfac459efeb7a (patch)
tree32b4254108a03359934d1da1a4e7e7822086ab87 /lib/chef/deprecation
parent386468df5441f4a75865bccfd9314f883e5f39ff (diff)
downloadchef-f975355dc9cb9ef73ff86471a32bfac459efeb7a.tar.gz
Rename log.deprecation to log_deprecation
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