fsm: fixup observer options

This commit is contained in:
sputn1ck 2023-12-06 10:11:01 +01:00
parent 64394d0c98
commit fd0c78e014
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4

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