From 0157b47424fac2e8aeff7a04bc329d2b620e7ee0 Mon Sep 17 00:00:00 2001 From: Srikanth Chekuri Date: Fri, 9 Aug 2024 18:19:15 +0530 Subject: [PATCH] chore: add empty labels to response (#5668) --- pkg/query-service/model/v3/v3.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/query-service/model/v3/v3.go b/pkg/query-service/model/v3/v3.go index a133cdaf23..491cfaac88 100644 --- a/pkg/query-service/model/v3/v3.go +++ b/pkg/query-service/model/v3/v3.go @@ -1040,8 +1040,8 @@ type LogsLiveTailClient struct { } type Series struct { - Labels map[string]string `json:"labels,omitempty"` - LabelsArray []map[string]string `json:"labelsArray,omitempty"` + Labels map[string]string `json:"labels"` + LabelsArray []map[string]string `json:"labelsArray"` Points []Point `json:"values"` }