MCPcopy Create free account
hub / github.com/cortexproject/cortex / mustEqualMatcher

Function mustEqualMatcher

pkg/distributor/distributor_test.go:3688–3694  ·  view source on GitHub ↗
(k, v string)

Source from the content-addressed store, hash-verified

3686}
3687
3688func mustEqualMatcher(k, v string) *labels.Matcher {
3689 m, err := labels.NewMatcher(labels.MatchEqual, k, v)
3690 if err != nil {
3691 panic(err)
3692 }
3693 return m
3694}
3695
3696type mockIngester struct {
3697 sync.Mutex

Callers 2

TestSlowQueriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected