Skip to content

Commit

Permalink
Add a TODO comment around handling peer address for remove peer corre…
Browse files Browse the repository at this point in the history
…ctly for raft protocol 3
  • Loading branch information
Preetha Appan committed Jan 5, 2018
1 parent 357213d commit 3c57705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nomad/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ func (s *Server) Leave() error {
return err
}

// TODO (alexdadgar) - This will need to be updated once we support node
// IDs.
// TODO (alexdadgar) - This will need to be updated before 0.8 release to
// correctly handle using node IDs instead of address when raftProtocol = 3
addr := s.raftTransport.LocalAddr()

// If we are the current leader, and we have any other peers (cluster has multiple
Expand Down

0 comments on commit 3c57705

Please sign in to comment.