Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
func
(e *userExternalLabels) remove(user string) {
57
e.mtx.Lock()
58
defer
e.mtx.Unlock()
59
delete(e.users, user)
60
}
61
62
func
(e *userExternalLabels) cleanup() {
63
e.mtx.Lock()
Callers
2
TestUserExternalLabels
Function · 0.80
SyncRuleGroups
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestUserExternalLabels
Function · 0.64