This commit is contained in:
Ian Gulliver
2023-06-18 22:42:10 -07:00
parent 8318e90401
commit 842c62dae8

View File

@@ -215,6 +215,7 @@ func (c *Candidate) elect(ctx context.Context, ec *event.Client, v *vote) {
return return
} }
// TODO: goCamelCase event names (throughout)
c.log(ctx, ec, c.log(ctx, ec,
"event", "transitioning state", "event", "transitioning state",
"oldState", StateName[c.state], "oldState", StateName[c.state],