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

Method RestoreConfig

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

Source from the content-addressed store, hash-verified

45}
46
47func (t traced) RestoreConfig(ctx context.Context, userID string) (err error) {
48 defer func() { t.trace("RestoreConfig", userID, err) }()
49 return t.d.RestoreConfig(ctx, userID)
50}
51
52func (t traced) Close() (err error) {
53 defer func() { t.trace("Close", err) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
RestoreConfigMethod · 0.65

Tested by

no test coverage detected