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

Method SetConfig

pkg/configs/db/traced.go:27–30  ·  view source on GitHub ↗
(ctx context.Context, userID string, cfg userconfig.Config)

Source from the content-addressed store, hash-verified

25}
26
27func (t traced) SetConfig(ctx context.Context, userID string, cfg userconfig.Config) (err error) {
28 defer func() { t.trace("SetConfig", userID, cfg, err) }()
29 return t.d.SetConfig(ctx, userID, cfg)
30}
31
32func (t traced) GetAllConfigs(ctx context.Context) (cfgs map[string]userconfig.View, err error) {
33 defer func() { t.trace("GetAllConfigs", cfgs, err) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
SetConfigMethod · 0.65

Tested by

no test coverage detected