summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-04-06 22:14:39 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-04-06 22:46:26 +0530
commita1bf06c753173ac698d9329a09c6edba6c18c781 (patch)
treedcc0cfe7d4c533fc1d73d1cbd01dbf1decc202ef /lib/chef/knife.rb
parentbd19ff3749e935524a512667f41bb4fe5667be01 (diff)
downloadchef-a1bf06c753173ac698d9329a09c6edba6c18c781.tar.gz
Fix typo
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r--lib/chef/knife.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index 0debcbc429..919fd04074 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -101,7 +101,7 @@ class Chef
subcommand_files[subclass.snake_case_name] +=
if subclass.superclass.to_s == "Chef::ChefFS::Knife"
# ChefFS-based commands have a superclass that defines an
- # inhereited method which calls super. This means that the
+ # inherited method which calls super. This means that the
# top of the call stack is not the class definition for
# our subcommand. Try the second entry in the call stack.
[path_from_caller(caller[1])]
@@ -557,7 +557,7 @@ class Chef
max_server_version = version_header["max_version"]
ui.error "The API version that Knife is using is not supported by the server you sent this request to."
ui.info "The request that Knife sent was using API version #{client_api_version}."
- ui.info "The server you sent the request to supports a min API verson of #{min_server_version} and a max API version of #{max_server_version}."
+ ui.info "The server you sent the request to supports a min API version of #{min_server_version} and a max API version of #{max_server_version}."
ui.info "Please either update your #{Chef::Dist::PRODUCT} or the server to be a compatible set."
else
ui.error response.message