summaryrefslogtreecommitdiff
path: root/lib/chef/resource/file/verification.rb
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/resource/file/verification.rb
parent386468df5441f4a75865bccfd9314f883e5f39ff (diff)
downloadchef-f975355dc9cb9ef73ff86471a32bfac459efeb7a.tar.gz
Rename log.deprecation to log_deprecation
Diffstat (limited to 'lib/chef/resource/file/verification.rb')
-rw-r--r--lib/chef/resource/file/verification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file/verification.rb b/lib/chef/resource/file/verification.rb
index 654f2d72ce..ba0bb08201 100644
--- a/lib/chef/resource/file/verification.rb
+++ b/lib/chef/resource/file/verification.rb
@@ -108,7 +108,7 @@ class Chef
def verify_command(path, opts)
# First implementation interpolated `file`; docs & RFC claim `path`
# is interpolated. Until `file` can be deprecated, interpolate both.
- Chef.log.deprecation(
+ Chef.log_deprecation(
'%{file} is deprecated in verify command and will not be '\
'supported in Chef 13. Please use %{path} instead.'
) if @command.include?('%{file}')