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

Method starting

pkg/scheduler/scheduler.go:665–673  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

663}
664
665func (s *Scheduler) starting(ctx context.Context) error {
666 s.subservicesWatcher.WatchManager(s.subservices)
667
668 if err := services.StartManagerAndAwaitHealthy(ctx, s.subservices); err != nil {
669 return errors.Wrap(err, "unable to start scheduler subservices")
670 }
671
672 return nil
673}
674
675func (s *Scheduler) running(ctx context.Context) error {
676 for {

Callers

nothing calls this directly

Calls 3

WatchManagerMethod · 0.80
WrapMethod · 0.65

Tested by

no test coverage detected