From 67c0042b50f99385aa3de20e6ffaa8837e83333b Mon Sep 17 00:00:00 2001 From: George Robinson Date: Tue, 24 Oct 2023 14:25:00 +0100 Subject: [PATCH] Fix lint Signed-off-by: George Robinson --- cli/alert_query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/alert_query.go b/cli/alert_query.go index f1a5f813cd..e5f5ba6ac8 100644 --- a/cli/alert_query.go +++ b/cli/alert_query.go @@ -86,7 +86,7 @@ func (a *alertQueryCmd) queryAlerts(ctx context.Context, _ *kingpin.ParseContext a.matcherGroups[0] = fmt.Sprintf("alertname=%s", strconv.Quote(m)) } } - + // If no selector was passed, default to showing active alerts. if !a.silenced && !a.inhibited && !a.active && !a.unprocessed { a.active = true