(_ *PilotArgs)
| 1411 | } |
| 1412 | |
| 1413 | func (s *Server) initStatusManager(_ *PilotArgs) { |
| 1414 | s.addStartFunc("status manager", func(stop <-chan struct{}) error { |
| 1415 | s.statusManager = status.NewManager(s.RWConfigStore) |
| 1416 | s.statusManager.Start(stop) |
| 1417 | return nil |
| 1418 | }) |
| 1419 | } |
| 1420 | |
| 1421 | func (s *Server) serveHTTP() error { |
| 1422 | // At this point we are ready - start Http Listener so that it can respond to readiness events. |
no test coverage detected