From c5fd91fd869b5e65bd8004a398d00c5417480bbf Mon Sep 17 00:00:00 2001 From: Daniel Reuter Date: Wed, 2 Oct 2024 16:03:33 +0200 Subject: [PATCH] feat: fill category for backward compatibility reasons (old sidebar) --- extmetric/extmetric.go | 1 + 1 file changed, 1 insertion(+) diff --git a/extmetric/extmetric.go b/extmetric/extmetric.go index 6610aac..6863b48 100644 --- a/extmetric/extmetric.go +++ b/extmetric/extmetric.go @@ -47,6 +47,7 @@ func (f MetricCheckAction) Describe() action_kit_api.ActionDescription { Version: extbuild.GetSemverVersionStringOrUnknown(), Icon: extutil.Ptr(extinstance.PrometheusIcon), Technology: extutil.Ptr("Prometheus"), + Category: extutil.Ptr("Prometheus"), //Can be removed in Q1/24 - support for backward compatibility of old sidebar TargetSelection: extutil.Ptr(action_kit_api.TargetSelection{ TargetType: extinstance.PrometheusInstanceTargetId, QuantityRestriction: extutil.Ptr(action_kit_api.ExactlyOne),