MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / Close

Method Close

store/engine/consul/consul.go:312–318  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310}
311
312func (c *Consul) Close() error {
313 close(c.quitCh)
314 c.watchPlan.Stop()
315 c.wg.Wait()
316 c.client = nil
317 return nil
318}
319
320func sanitizeKey(key string) string {
321 if len(key) > 0 && key[0] == '/' {

Callers

nothing calls this directly

Calls 1

StopMethod · 0.45

Tested by

no test coverage detected