From fbe2abe4dd61df0ab109c4aba609b2070ba5e574 Mon Sep 17 00:00:00 2001 From: Rory Carson Date: Tue, 24 Oct 2023 10:12:47 +0200 Subject: [PATCH] add notifytext to error message --- pkg/policies/catalog/catalog_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/policies/catalog/catalog_test.go b/pkg/policies/catalog/catalog_test.go index a178e11d..62200882 100644 --- a/pkg/policies/catalog/catalog_test.go +++ b/pkg/policies/catalog/catalog_test.go @@ -201,7 +201,7 @@ To fix this, add a catalog-info.yaml file to your repository, following the offi Exp: policydef.Result{ Enabled: true, Pass: true, - NotifyText: "", + NotifyText: "catalog-info.yaml file not present.\n" + notifyText, Details: details{ Enabled: true, CatalogFound: false,