summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2015-09-25 16:28:53 -0700
committerNoah Kantrowitz <noah@coderanger.net>2015-09-25 16:28:53 -0700
commit3952953b82ddc2bd98bcfd777699d8c5699fb38d (patch)
tree8b76370ca2a1830e1df4a3782730a8c06a1bbbae
parentcf5e1d000979b9f0004eea4020c8d1d375b4a4c0 (diff)
parent47fe94f8fafab031065dfe8f46dbbb4b3f90ce47 (diff)
downloadchef-3952953b82ddc2bd98bcfd777699d8c5699fb38d.tar.gz
Merge pull request #3971 from coderanger/fix-deprecations
I think this was a bad search-and-replace, causes an infinite loop.
-rw-r--r--lib/chef/formatters/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/formatters/base.rb b/lib/chef/formatters/base.rb
index e4056a00fc..d3756ef00c 100644
--- a/lib/chef/formatters/base.rb
+++ b/lib/chef/formatters/base.rb
@@ -213,7 +213,7 @@ class Chef
end
def deprecation(message, location=caller(2..2)[0])
- Chef.log_deprecation("#{message} at #{location}")
+ Chef::Log.deprecation("#{message} at #{location}")
end
end