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

Method Close

pkg/util/request_tracker/request_tracker.go:194–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192}
193
194func (tracker *RequestTracker) Close() error {
195 if tracker == nil || tracker.closer == nil {
196 return nil
197 }
198 if err := tracker.closer.Close(); err != nil {
199 return fmt.Errorf("close RequestTracker.closer: %w", err)
200 }
201 return nil
202}

Callers 4

TestAPITrackerFunction · 0.95
TestAPIWrapperFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by 4

TestAPITrackerFunction · 0.76
TestAPIWrapperFunction · 0.76