summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-04-28 15:01:21 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-04-28 15:01:21 -0700
commit4b264132f0cf7058f9e65d8ee6ab800d8bfcac72 (patch)
treef59d99927ca7a91291ea2ebe1e59b787010683a3
parentfd8cacbdb02c45389029058fce01fc2c177da62f (diff)
downloadchef-4b264132f0cf7058f9e65d8ee6ab800d8bfcac72.tar.gz
Make deprecation warning message more explicit
There was some confusion around this message, make it clear that it is a warning, and that the timeframe for fixing the issues is before the next major version drops. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/formatters/doc.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb
index 513ac45471..2a3f9faef3 100644
--- a/lib/chef/formatters/doc.rb
+++ b/lib/chef/formatters/doc.rb
@@ -56,7 +56,8 @@ class Chef
# Print out deprecations.
unless deprecations.empty?
puts_line ""
- puts_line "Deprecated features used!"
+ puts_line "Deprecation warnings that must be addressed before upgrading to Chef Infra #{Chef::VERSION.to_i + 1}:"
+ puts_line ""
deprecations.each do |message, details|
locations = details[:locations]
if locations.size == 1