summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-07-30 21:16:58 -0700
committerTim Smith <tsmith@chef.io>2021-07-30 21:16:58 -0700
commit12a9b3ce2fae8ca792b5c649034f0bdffc40f8be (patch)
tree3fcc3096a3e2e576b37cd2104072e71a2135fdf7
parent2af65725a67cb07ece36f204b958adaff6b90c20 (diff)
downloadchef-12a9b3ce2fae8ca792b5c649034f0bdffc40f8be.tar.gz
Chef -> Chef Infra Client in error message
Be more consistent here Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/formatters/error_mapper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/formatters/error_mapper.rb b/lib/chef/formatters/error_mapper.rb
index b0d25149dd..0982a13a52 100644
--- a/lib/chef/formatters/error_mapper.rb
+++ b/lib/chef/formatters/error_mapper.rb
@@ -27,7 +27,7 @@ class Chef
# Failed to register this client with the server.
def self.registration_failed(node_name, exception, config)
error_inspector = ErrorInspectors::RegistrationErrorInspector.new(node_name, exception, config)
- headline = "Chef encountered an error attempting to create the client \"#{node_name}\""
+ headline = "Chef Infra Client encountered an error attempting to create the client \"#{node_name}\""
description = ErrorDescription.new(headline)
error_inspector.add_explanation(description)
description
@@ -35,7 +35,7 @@ class Chef
def self.node_load_failed(node_name, exception, config)
error_inspector = ErrorInspectors::NodeLoadErrorInspector.new(node_name, exception, config)
- headline = "Chef encountered an error attempting to load the node data for \"#{node_name}\""
+ headline = "Chef Infra Client encountered an error attempting to load the node data for \"#{node_name}\""
description = ErrorDescription.new(headline)
error_inspector.add_explanation(description)
description