Unverified Commit a4c739b4 authored by Drew Bailey's avatar Drew Bailey
Browse files

leader wip

parent bd25f685
Branches unavailable
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -853,6 +853,10 @@ func (s *Server) publishJobStatusMetrics(stopCh chan struct{}) {
}
func (s *Server) publishEventsForSinks(stopCh chan struct{}) {
broker, err := s.State().EventBroker()
if err != nil {
s.logger.Warn("event broker not enabled on leader", "error", err)
}
for {
select {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment