Skip to content

Commit 63403d1

Browse files
authored
Merge pull request #671 from sputn1ck/expand_fsm
fsm: fixup observer options
2 parents 64394d0 + fd0c78e commit 63403d1

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)