From c3773b7f265cf8a6a62b3ee0acd29367bc2f923d Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Fri, 12 Aug 2022 09:47:46 +0100 Subject: [PATCH] %s -> %q Signed-off-by: Dan Jones --- pkg/analyze/common_status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/analyze/common_status.go b/pkg/analyze/common_status.go index bf5b4dc1..1a5e9ea0 100644 --- a/pkg/analyze/common_status.go +++ b/pkg/analyze/common_status.go @@ -59,7 +59,7 @@ func commonStatus(outcomes []*troubleshootv1beta2.Outcome, name string, iconKey if exists == false && outcome.Warn.When != "absent" { result.IsFail = true - result.Message = fmt.Sprintf("The %s %s was not found", resourceType, name) + result.Message = fmt.Sprintf("The %s %q was not found", resourceType, name) result.URI = outcome.Fail.URI return result, nil } @@ -95,7 +95,7 @@ func commonStatus(outcomes []*troubleshootv1beta2.Outcome, name string, iconKey if exists == false && outcome.Pass.When != "absent" { result.IsFail = true - result.Message = fmt.Sprintf("The %s %s was not found", resourceType, name) + result.Message = fmt.Sprintf("The %s %q was not found", resourceType, name) result.URI = outcome.Fail.URI return result, nil }