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

Method starting

pkg/frontend/v1/frontend.go:152–160  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

150}
151
152func (f *Frontend) starting(ctx context.Context) error {
153 f.subservicesWatcher.WatchManager(f.subservices)
154
155 if err := services.StartManagerAndAwaitHealthy(ctx, f.subservices); err != nil {
156 return errors.Wrap(err, "unable to start frontend subservices")
157 }
158
159 return nil
160}
161
162func (f *Frontend) running(ctx context.Context) error {
163 for {

Callers

nothing calls this directly

Calls 3

WatchManagerMethod · 0.80
WrapMethod · 0.65

Tested by

no test coverage detected