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

Method starting

runtimeconfig/manager.go:139–145  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

137}
138
139func (om *Manager) starting(ctx context.Context) error {
140 if len(om.cfg.LoadPath) == 0 {
141 return nil
142 }
143
144 return errors.Wrap(om.loadConfig(ctx), "failed to load runtime config")
145}
146
147// CreateListenerChannel creates new channel that can be used to receive new config values.
148// If there is no receiver waiting for value when config manager tries to send the update,

Callers

nothing calls this directly

Calls 2

loadConfigMethod · 0.95
WrapMethod · 0.65

Tested by

no test coverage detected