From 196fbd975d85fddd466618c552b90028dd741f85 Mon Sep 17 00:00:00 2001 From: Anand Rajagopal Date: Thu, 14 Nov 2024 16:17:50 +0000 Subject: [PATCH] Bug fix on JSON Tag Signed-off-by: Anand Rajagopal --- pkg/ruler/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ruler/api.go b/pkg/ruler/api.go index 90aa09e8da..695e33954a 100644 --- a/pkg/ruler/api.go +++ b/pkg/ruler/api.go @@ -51,7 +51,7 @@ type Alert struct { // RuleDiscovery has info for all rules type RuleDiscovery struct { RuleGroups []*RuleGroup `json:"groups"` - GroupNextToken string `json:"groupNextToken:omitempty"` + GroupNextToken string `json:"groupNextToken,omitempty"` } // RuleGroup has info for rules which are part of a group