MCPcopy
hub / github.com/CodisLabs/codis / contextRemoveProxy

Function contextRemoveProxy

pkg/topom/topom_cache_test.go:148–151  ·  view source on GitHub ↗
(t *Topom, p *models.Proxy)

Source from the content-addressed store, hash-verified

146}
147
148func contextRemoveProxy(t *Topom, p *models.Proxy) {
149 t.dirtyProxyCache(p.Token)
150 assert.MustNoError(t.storeRemoveProxy(p))
151}

Callers 2

TestGroupPromoteFunction · 0.85
TestProxyStatsFunction · 0.85

Calls 2

dirtyProxyCacheMethod · 0.80
storeRemoveProxyMethod · 0.80

Tested by

no test coverage detected