summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_site_share.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2015-09-27 11:44:06 -0700
committerTim Smith <tsmith84@gmail.com>2015-09-27 11:44:06 -0700
commit3968f4402d03822051169056138b769508e85c17 (patch)
treec325daa9d84c11d4a70f00ede82bca8b003db522 /lib/chef/knife/cookbook_site_share.rb
parentd3b7dd925597dbeedafb2e65b1fd10ffc5b60d22 (diff)
downloadchef-3968f4402d03822051169056138b769508e85c17.tar.gz
Supermarket vs. the Supermarket
Judging by our docs is seems we're just calling it Supermarket not the Supermarket or the Supermarket site. Lets be consistent here
Diffstat (limited to 'lib/chef/knife/cookbook_site_share.rb')
-rw-r--r--lib/chef/knife/cookbook_site_share.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/cookbook_site_share.rb b/lib/chef/knife/cookbook_site_share.rb
index b0f7f50e4d..beb98b71b8 100644
--- a/lib/chef/knife/cookbook_site_share.rb
+++ b/lib/chef/knife/cookbook_site_share.rb
@@ -110,13 +110,13 @@ class Chef
begin
data = noauth_rest.get_rest("https://supermarket.chef.io/api/v1/cookbooks/#{@name_args[0]}")
if !data["category"] && data["error_code"]
- ui.fatal("Received an error from the Supermarket site: #{data["error_code"]}. On the first time you upload it, you are required to specify the category you want to share this cookbook to.")
+ ui.fatal("Received an error from Supermarket: #{data["error_code"]}. On the first time you upload it, you are required to specify the category you want to share this cookbook to.")
exit(1)
else
data['category']
end
rescue => e
- ui.fatal("Unable to reach Supermarket site: #{e.message}. Increase log verbosity (-VV) for more information.")
+ ui.fatal("Unable to reach Supermarket: #{e.message}. Increase log verbosity (-VV) for more information.")
Chef::Log.debug("\n#{e.backtrace.join("\n")}")
exit(1)
end