summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-11-23 11:59:51 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-11-23 11:59:51 -0800
commit115b41dd02d0f778be2e115719087516d71dc9a4 (patch)
tree0934be489464727965933bfc10caaa75dcacf1a8
parent9d383e7aa168c43441e3bc8465e8863c6c8c4686 (diff)
downloadchef-lcg/add-warn.tar.gz
properly use ui.warnlcg/add-warn
-rw-r--r--lib/chef/knife/cookbook_site_share.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_share.rb b/lib/chef/knife/cookbook_site_share.rb
index adfdb3afe4..5760829f9d 100644
--- a/lib/chef/knife/cookbook_site_share.rb
+++ b/lib/chef/knife/cookbook_site_share.rb
@@ -48,7 +48,7 @@ class Chef
:description => "Don't take action, only print what files will be upload to SuperMarket."
def run
- Chef::Log.warn("This command is deprecated, please install the knife-supermarket gem and use knife supermarket share")
+ ui.warn("This command is deprecated, please install the knife-supermarket gem and use knife supermarket share")
config[:cookbook_path] ||= Chef::Config[:cookbook_path]
if @name_args.length < 1