Merge pull request #671 from sputn1ck/expand_fsm

fsm: fixup observer options
This commit is contained in:
Konstantin Nick 2023-12-06 10:25:20 +01:00 committed by GitHub
commit 63403d1fc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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