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

Method setConfig

pkg/util/runtimeconfig/manager.go:208–212  ·  view source on GitHub ↗
(config any)

Source from the content-addressed store, hash-verified

206}
207
208func (om *Manager) setConfig(config any) {
209 om.configMtx.Lock()
210 defer om.configMtx.Unlock()
211 om.config = config
212}
213
214func (om *Manager) callListeners(newValue any) {
215 om.listenersMtx.Lock()

Callers 1

loadConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected