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

Method starting

pkg/querier/blocks_store_queryable.go:268–276  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

266}
267
268func (q *BlocksStoreQueryable) starting(ctx context.Context) error {
269 q.subservicesWatcher.WatchManager(q.subservices)
270
271 if err := services.StartManagerAndAwaitHealthy(ctx, q.subservices); err != nil {
272 return errors.Wrap(err, "unable to start blocks storage queryable subservices")
273 }
274
275 return nil
276}
277
278func (q *BlocksStoreQueryable) running(ctx context.Context) error {
279 for {

Callers

nothing calls this directly

Calls 3

WatchManagerMethod · 0.80
WrapMethod · 0.65

Tested by

no test coverage detected