Skip to content

Commit

Permalink
fix: use correct type of fsm state
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Sep 11, 2021
1 parent 8a1c45c commit 00fc98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/assuan/fsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (
//go:generate enumer -type=State -text -transform upper

// State represents an Assuan state.
type State fsm.Event
type State fsm.State

// Enumeration of all possible states in the assuan FSM.
// connected is the initial state when the client connects.
Expand Down

0 comments on commit 00fc98e

Please sign in to comment.