diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2024-04-24 11:27:27 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-04-24 16:22:07 +0200 |
| commit | 097bbd6b91afdedf3240ec67224c8282d87ae708 (patch) | |
| tree | cd62dcafc295bcd37ed8720f810bb112b240e8bc /client/fsm.go | |
| parent | d44bfc135cfd4e8cc99696e1383d184ac8c6f90c (diff) | |
Client FSM: Allow Disconnected state from GettingConfig
Diffstat (limited to 'client/fsm.go')
| -rw-r--r-- | client/fsm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/fsm.go b/client/fsm.go index 0102c22..82b737d 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -123,6 +123,7 @@ func newFSM( Transitions: []FSMTransition{ {To: StateAskLocation, Description: "Invalid location"}, {To: StateAskProfile, Description: "Invalid or no profile"}, + {To: StateDisconnected, Description: "Go back to disconnected"}, {To: StateGotConfig, Description: "Successfully got a configuration"}, {To: StateOAuthStarted, Description: "Authorize"}, }, |
