summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_site_show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/cookbook_site_show.rb')
-rw-r--r--lib/chef/knife/cookbook_site_show.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_show.rb b/lib/chef/knife/cookbook_site_show.rb
index 84a7c249e5..3fa390508f 100644
--- a/lib/chef/knife/cookbook_site_show.rb
+++ b/lib/chef/knife/cookbook_site_show.rb
@@ -18,6 +18,7 @@
require_relative "../knife"
require_relative "supermarket_show"
+require_relative "../dist"
class Chef
class Knife
@@ -30,7 +31,7 @@ class Chef
category "deprecated"
def run
- Chef::Log.warn("knife cookbook site show has been deprecated in favor of knife supermarket show. In Chef 16 (April 2020) this will result in an error!")
+ Chef::Log.warn("knife cookbook site show has been deprecated in favor of knife supermarket show. In #{Chef::Dist::PRODUCT} 16 (April 2020) this will result in an error!")
super
end