From eac29d216da36820c603ecdd20733fa6e01c2228 Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Tue, 25 Aug 2020 16:51:43 +0530 Subject: Fix warn message typos Signed-off-by: Vivek Singh --- lib/chef/knife/config_get.rb | 2 +- lib/chef/knife/config_get_profile.rb | 2 +- lib/chef/knife/config_list_profiles.rb | 2 +- lib/chef/knife/config_use_profile.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/chef/knife/config_get.rb b/lib/chef/knife/config_get.rb index 023c82e8a9..a467730054 100644 --- a/lib/chef/knife/config_get.rb +++ b/lib/chef/knife/config_get.rb @@ -38,7 +38,7 @@ class Chef default: false def run - Chef::Log.warn("knife config get has been deprecated in favor of knife config show. This will removed in marjor release verison!") + Chef::Log.warn("knife config get has been deprecated in favor of knife config show. This will be removed in the major release version!") if config[:format] == "summary" && !config[:raw] # If using the default, human-readable output, also show which config files are being loaded. diff --git a/lib/chef/knife/config_get_profile.rb b/lib/chef/knife/config_get_profile.rb index 5fe1d27ffc..9158dab6ac 100644 --- a/lib/chef/knife/config_get_profile.rb +++ b/lib/chef/knife/config_get_profile.rb @@ -30,7 +30,7 @@ class Chef end def run - Chef::Log.warn("knife config get-profiles has been deprecated in favor of knife config use. This will removed in marjor release verison!") + Chef::Log.warn("knife config get-profiles has been deprecated in favor of knife config use. This will be removed in the major release version!") ui.msg(self.class.config_loader.credentials_profile(config[:profile])) end diff --git a/lib/chef/knife/config_list_profiles.rb b/lib/chef/knife/config_list_profiles.rb index cd33a9a05a..df5a08c86f 100644 --- a/lib/chef/knife/config_list_profiles.rb +++ b/lib/chef/knife/config_list_profiles.rb @@ -38,7 +38,7 @@ class Chef end def run - Chef::Log.warn("knife config list-profiles has been deprecated in favor of knife config list. This will removed in marjor release verison!") + Chef::Log.warn("knife config list-profiles has been deprecated in favor of knife config list. This will be removed in the major release version!") credentials_data = self.class.config_loader.parse_credentials_file if credentials_data.nil? || credentials_data.empty? diff --git a/lib/chef/knife/config_use_profile.rb b/lib/chef/knife/config_use_profile.rb index 7a50efcb1e..8af3ee4b7b 100644 --- a/lib/chef/knife/config_use_profile.rb +++ b/lib/chef/knife/config_use_profile.rb @@ -34,7 +34,7 @@ class Chef end def run - Chef::Log.warn("knife config use-profile has been deprecated in favor of knife config use. This will removed in marjor release verison!") + Chef::Log.warn("knife config use-profile has been deprecated in favor of knife config use. This will be removed in the major release version!") credentials_data = self.class.config_loader.parse_credentials_file context_file = ChefConfig::PathHelper.home(".chef", "context").freeze -- cgit v1.2.1