Skip to content

Commit fd0c78e

Browse files
committed
fsm: fixup observer options
1 parent 64394d0 commit fd0c78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsm/observer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (w *InitialWaitOption) apply(o *fsmOptions) {
8383
// and the state machine needs some time to process the event.
8484
func (s *CachedObserver) WaitForState(ctx context.Context,
8585
timeout time.Duration, state StateType,
86-
opts ...InitialWaitOption) error {
86+
opts ...WaitForStateOption) error {
8787

8888
var options fsmOptions
8989

0 commit comments

Comments
 (0)