Test failover

This commit is contained in:
Ian Gulliver
2023-06-04 13:44:26 -07:00
parent bce6488620
commit 7c3e760759
5 changed files with 67 additions and 23 deletions

View File

@@ -108,7 +108,7 @@ func (v *Voter) poll() bool {
func (v *Voter) sendVote() {
v.vote.VoteSent = time.Now().UTC()
v.candidate.voteIfNo(&v.vote)
v.candidate.VoteIfNo(v.vote)
js := lo.Must(json.Marshal(v.vote))