fix typo
Some checks failed
Lint / golangci-lint (push) Failing after 9m43s
Machine Tests / test (push) Failing after 26s

This commit is contained in:
Matthew Rich 2024-05-06 22:46:24 -07:00
parent 2b3068fcd0
commit f42a74531a

View File

@ -42,6 +42,6 @@ func (r *Transition) Subscribe(s Subscriber) {
func (r *Transition) Notify(on Eventtype, source State, dest State) {
for _, s := range r.subscriptions {
s.Notify(&EventMessage{On: On, Source: Source, Dest: Dest})
s.Notify(&EventMessage{On: on, Source: source, Dest: dest})
}
}