From ea3fe0e0c571cf8042718231fbd0e506154f96e9 Mon Sep 17 00:00:00 2001 From: Mikhail Alpinskiy Date: Fri, 29 Nov 2024 20:08:09 +0300 Subject: [PATCH] Autocreate preserve user ordering --- internal/aggregator/autocreate.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/aggregator/autocreate.go b/internal/aggregator/autocreate.go index e65ca8a10..941758753 100644 --- a/internal/aggregator/autocreate.go +++ b/internal/aggregator/autocreate.go @@ -11,7 +11,6 @@ import ( "encoding/json" "fmt" "log" - "sort" "strings" "sync" "time" @@ -421,10 +420,5 @@ func ParseKnownTags(configS []byte, meta format.MetaStorageInterface) (KnownTags } } } - for _, v := range res { - sort.Slice(v, func(i, j int) bool { - return v[i].Selector < v[j].Selector - }) - } return res, nil }