MCPcopy
hub / github.com/grafana/dskit / getSortedAddresses

Function getSortedAddresses

ring/ring_test.go:3002–3006  ·  view source on GitHub ↗
(rs ReplicationSet)

Source from the content-addressed store, hash-verified

3000}
3001
3002func getSortedAddresses(rs ReplicationSet) []string {
3003 r := rs.GetAddresses()
3004 sort.Strings(r)
3005 return r
3006}
3007
3008func TestRing_ShuffleShardWithLookback_Caching(t *testing.T) {
3009 t.Parallel()

Calls 1

GetAddressesMethod · 0.80

Tested by

no test coverage detected