From 765893b483105750189c92f13f758bc401b7df23 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 9 Mar 2023 13:59:06 +0100 Subject: [PATCH] events: reword error messages Signed-off-by: Hidde Beydals --- cmd/flux/events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/flux/events.go b/cmd/flux/events.go index 1176bc0ce2..f316ea7ac5 100644 --- a/cmd/flux/events.go +++ b/cmd/flux/events.go @@ -127,9 +127,9 @@ func eventsCmdRun(cmd *cobra.Command, args []string) error { rows, err := getRows(ctx, kubeclient, clientListOpts, refListOpts, showNamespace) if len(rows) == 0 { if eventArgs.allNamespaces { - logger.Failuref("No flux events found.") + logger.Failuref("No events found.") } else { - logger.Failuref("No flux events found in %s namespace.\n", *kubeconfigArgs.Namespace) + logger.Failuref("No events found in %s namespace.\n", *kubeconfigArgs.Namespace) } return nil