Include IDs with events, ignore blank votes

This commit is contained in:
Ian Gulliver
2023-06-18 08:18:33 -07:00
parent e45d1931cf
commit 8318e90401
2 changed files with 12 additions and 1 deletions

View File

@@ -198,5 +198,6 @@ func (v *Voter) log(ctx context.Context, ec *event.Client, vals ...any) {
ec.Log(ctx, append([]any{
"library", "elect",
"subsystem", "voter",
"voterID", v.vote.VoterID,
}, vals...)...)
}