summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
authorJose Asuncion <jeunito@gmail.com>2017-07-04 20:13:06 -0700
committerJose Asuncion <jeunito@gmail.com>2017-07-04 20:19:05 -0700
commit764524d41d6aac0fcb62c8030ecaa217eda8c746 (patch)
tree58c449615fd08a74a060332f9cf45e0bb1d35ffc /lib/chef/knife.rb
parenta0bea2e9366c148337f89b536be8f78f7475f6c1 (diff)
downloadchef-764524d41d6aac0fcb62c8030ecaa217eda8c746.tar.gz
change messaging
Signed-off-by: Jose Asuncion <jeunito@gmail.com>
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r--lib/chef/knife.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb
index 46d315aacf..ed54d141be 100644
--- a/lib/chef/knife.rb
+++ b/lib/chef/knife.rb
@@ -475,7 +475,7 @@ class Chef
ui.error "Invalid Redirect: #{e.message}"
ui.info "Change your server location in knife.rb to the server's FQDN to avoid unwanted redirections."
when Chef::Exceptions::NotAChefServerException
- ui.error "Argument Error: #{Chef::Config[:chef_server_url]} is not a valid chef server"
+ ui.error "#{Chef::Config[:chef_server_url]} is not a valid chef server"
else
ui.error "#{e.class.name}: #{e.message}"
end