MCPcopy Index your code
hub / github.com/cortexproject/cortex / Stop

Method Stop

tools/querytee/proxy.go:197–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195}
196
197func (p *Proxy) Stop() error {
198 if p.srv == nil {
199 return nil
200 }
201
202 return p.srv.Shutdown(context.Background())
203}
204
205func (p *Proxy) Await() {
206 // Wait until terminated.

Callers 2

TestProxy_PassthroughFunction · 0.95

Calls 1

ShutdownMethod · 0.80

Tested by 2

TestProxy_PassthroughFunction · 0.76