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

Method Ready

integration/e2e/service.go:255–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253}
254
255func (s *ConcreteService) Ready() error {
256 if !s.isExpectedRunning() {
257 return fmt.Errorf("service %s is stopped", s.Name())
258 }
259
260 // Ensure the service has a readiness probe configure.
261 if s.readiness == nil {
262 return nil
263 }
264
265 return s.readiness.Ready(s)
266}
267
268func (s *ConcreteService) containerName() string {
269 return NetworkContainerHost(s.usedNetworkName, s.name)

Callers 1

WaitReadyMethod · 0.95

Calls 3

isExpectedRunningMethod · 0.95
NameMethod · 0.95
ReadyMethod · 0.65

Tested by

no test coverage detected