summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/error_inspectors
diff options
context:
space:
mode:
authortylercloke <tylercloke@gmail.com>2015-06-02 16:54:21 -0700
committertylercloke <tylercloke@gmail.com>2015-06-05 10:38:49 -0700
commit4f2400c8cce57e68f14cb9d4b756ab82b23dd69d (patch)
tree836ac3d3f71ec2ab234f975d2ed2f4fad93e94a5 /lib/chef/formatters/error_inspectors
parenteb49eedb6333bc1c6b82d0c7befffb9188c5b523 (diff)
downloadchef-4f2400c8cce57e68f14cb9d4b756ab82b23dd69d.tar.gz
Backwards compatible support for OSC 11 in knife user commands.
All knife user commands can detect when they have failed for OSC 11 reasons and forward the request to backwards compatible knife osc_user commands.
Diffstat (limited to 'lib/chef/formatters/error_inspectors')
-rw-r--r--lib/chef/formatters/error_inspectors/api_error_formatting.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/formatters/error_inspectors/api_error_formatting.rb b/lib/chef/formatters/error_inspectors/api_error_formatting.rb
index d68b38e41f..05ee3132a7 100644
--- a/lib/chef/formatters/error_inspectors/api_error_formatting.rb
+++ b/lib/chef/formatters/error_inspectors/api_error_formatting.rb
@@ -75,10 +75,10 @@ E
max_server_version = version_header["max_version"]
error_description.section("Incompatible server API version:",<<-E)
-This version of the API that this Chef request specified is not supported by the Chef server you sent this request to
-The Chef server you sent the request to supports a min API version of #{min_server_version} and a max API version of #{max_server_version}
-Chef just made a request with an API version of #{client_api_version}
-Please either update your Chef client or server to be a compatible set
+This version of the API that this Chef request specified is not supported by the Chef server you sent this request to.
+The server supports a min API version of #{min_server_version} and a max API version of #{max_server_version}.
+Chef just made a request with an API version of #{client_api_version}.
+Please either update your Chef client or server to be a compatible set.
E
else
describe_http_error(error_description)