From fd0c78e014fe06343270af59fec551698a20e0ea Mon Sep 17 00:00:00 2001 From: sputn1ck Date: Wed, 6 Dec 2023 10:11:01 +0100 Subject: [PATCH] fsm: fixup observer options --- fsm/observer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsm/observer.go b/fsm/observer.go index 9e08cc8f..2d5e3fcd 100644 --- a/fsm/observer.go +++ b/fsm/observer.go @@ -83,7 +83,7 @@ func (w *InitialWaitOption) apply(o *fsmOptions) { // and the state machine needs some time to process the event. func (s *CachedObserver) WaitForState(ctx context.Context, timeout time.Duration, state StateType, - opts ...InitialWaitOption) error { + opts ...WaitForStateOption) error { var options fsmOptions