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

Method GetConfig

pkg/configs/db/traced.go:22–25  ·  view source on GitHub ↗
(ctx context.Context, userID string)

Source from the content-addressed store, hash-verified

20}
21
22func (t traced) GetConfig(ctx context.Context, userID string) (cfg userconfig.View, err error) {
23 defer func() { t.trace("GetConfig", userID, cfg, err) }()
24 return t.d.GetConfig(ctx, userID)
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) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
GetConfigMethod · 0.65

Tested by

no test coverage detected