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

Method WatchManager

pkg/util/services/failure_watcher.go:31–35  ·  view source on GitHub ↗
(manager *Manager)

Source from the content-addressed store, hash-verified

29}
30
31func (w *FailureWatcher) WatchManager(manager *Manager) {
32 manager.AddListener(NewManagerListener(nil, nil, func(service Service) {
33 w.ch <- errors.Wrapf(service.FailureCase(), "service %s failed", DescribeService(service))
34 }))
35}

Callers 11

startingMethod · 0.80
startingMethod · 0.80
startingMethod · 0.80
NewFunction · 0.80
startingMethod · 0.80
startingMethod · 0.80
startingMethod · 0.80
startingMethod · 0.80
startingMethod · 0.80
startingMethod · 0.80
startingMethod · 0.80

Calls 4

NewManagerListenerFunction · 0.85
DescribeServiceFunction · 0.85
AddListenerMethod · 0.65
FailureCaseMethod · 0.65

Tested by

no test coverage detected