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

Method setConfig

runtimeconfig/manager.go:350–352  ·  view source on GitHub ↗
(config interface{})

Source from the content-addressed store, hash-verified

348}
349
350func (om *Manager) setConfig(config interface{}) {
351 om.configPtr.Store(&config)
352}
353
354func (om *Manager) callListeners(newValue interface{}) {
355 om.listenersMtx.Lock()

Callers 1

loadConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected