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

Method Close

pkg/configs/db/traced.go:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (t traced) Close() (err error) {
53 defer func() { t.trace("Close", err) }()
54 return t.d.Close()
55}
56
57func (t traced) GetRulesConfig(ctx context.Context, userID string) (cfg userconfig.VersionedRulesConfig, err error) {
58 defer func() { t.trace("GetRulesConfig", userID, cfg, err) }()

Callers

nothing calls this directly

Calls 2

traceMethod · 0.95
CloseMethod · 0.65

Tested by

no test coverage detected