Skip to content

Commit

Permalink
address the comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Aug 29, 2023
1 parent 8229a7e commit 2ecc1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mcs/scheduling/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ func (s *Server) startServerLoop() {
s.serverLoopCtx, s.serverLoopCancel = context.WithCancel(s.ctx)
s.serverLoopWg.Add(2)
go s.primaryElectionLoop()
go s.updateMemberLoop()
go s.updateAPIServerMemberLoop()
}

func (s *Server) updateMemberLoop() {
func (s *Server) updateAPIServerMemberLoop() {
defer logutil.LogPanic()
defer s.serverLoopWg.Done()

Expand Down

0 comments on commit 2ecc1be

Please sign in to comment.