From fa2daa70b1b1a1b5151cda81f2ddc9587e1bf41e Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Fri, 12 Aug 2022 09:46:18 +0100 Subject: [PATCH] %s -> %q Signed-off-by: Dan Jones --- pkg/analyze/common_status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyze/common_status.go b/pkg/analyze/common_status.go index d46ea974..bf5b4dc1 100644 --- a/pkg/analyze/common_status.go +++ b/pkg/analyze/common_status.go @@ -23,7 +23,7 @@ func commonStatus(outcomes []*troubleshootv1beta2.Outcome, name string, iconKey // if we're not checking that something is absent but it is, we should throw a default but meaningful error. if exists == false && outcome.Fail.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 }