summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-08-25 16:51:43 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-08-25 16:51:43 +0530
commiteac29d216da36820c603ecdd20733fa6e01c2228 (patch)
tree6bebcdf490f2bda31cf2ad5998c490cb6d192545
parentb1eb31f3f84aeaf37bdf8c35b5c1bd5a2a290967 (diff)
downloadchef-VSingh/knife-config-options.tar.gz
Fix warn message typosVSingh/knife-config-options
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r--lib/chef/knife/config_get.rb2
-rw-r--r--lib/chef/knife/config_get_profile.rb2
-rw-r--r--lib/chef/knife/config_list_profiles.rb2
-rw-r--r--lib/chef/knife/config_use_profile.rb2
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