Skip to content

Commit

Permalink
Autocreate preserve user ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
alpinskiy committed Nov 29, 2024
1 parent 1b59d37 commit ea3fe0e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/aggregator/autocreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"encoding/json"
"fmt"
"log"
"sort"
"strings"
"sync"
"time"
Expand Down Expand Up @@ -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
}

0 comments on commit ea3fe0e

Please sign in to comment.