summaryrefslogtreecommitdiff
path: root/lib/chef/mixin
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-04-25 14:57:20 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-04-25 14:57:20 -0700
commit82ad81d4bc7b58db06e649136a3e200e12bffca0 (patch)
tree4605ae9a1d3a00127210327f04ded8fafbd7c809 /lib/chef/mixin
parentbc2d5fedc18d56c1b22700a28c07dda960010964 (diff)
downloadchef-82ad81d4bc7b58db06e649136a3e200e12bffca0.tar.gz
make deprecation warnings actual deprecation warnings
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r--lib/chef/mixin/shell_out.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mixin/shell_out.rb b/lib/chef/mixin/shell_out.rb
index f20e0b61cb..1f7deb21d2 100644
--- a/lib/chef/mixin/shell_out.rb
+++ b/lib/chef/mixin/shell_out.rb
@@ -88,7 +88,7 @@ class Chef
end
def deprecate_option(old_option, new_option)
- Chef::Log.logger.warn "DEPRECATION: Chef::Mixin::ShellOut option :#{old_option} is deprecated. Use :#{new_option}"
+ Chef.log_deprecation "DEPRECATION: Chef::Mixin::ShellOut option :#{old_option} is deprecated. Use :#{new_option}"
end
def io_for_live_stream