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

Method DeactivateConfig

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

Source from the content-addressed store, hash-verified

40}
41
42func (t traced) DeactivateConfig(ctx context.Context, userID string) (err error) {
43 defer func() { t.trace("DeactivateConfig", userID, err) }()
44 return t.d.DeactivateConfig(ctx, userID)
45}
46
47func (t traced) RestoreConfig(ctx context.Context, userID string) (err error) {
48 defer func() { t.trace("RestoreConfig", userID, err) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
DeactivateConfigMethod · 0.65

Tested by

no test coverage detected