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

Method remove

pkg/ruler/external_labels.go:56–60  ·  view source on GitHub ↗
(user string)

Source from the content-addressed store, hash-verified

54}
55
56func (e *userExternalLabels) remove(user string) {
57 e.mtx.Lock()
58 defer e.mtx.Unlock()
59 delete(e.users, user)
60}
61
62func (e *userExternalLabels) cleanup() {
63 e.mtx.Lock()

Callers 2

TestUserExternalLabelsFunction · 0.80
SyncRuleGroupsMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestUserExternalLabelsFunction · 0.64