From 097bbd6b91afdedf3240ec67224c8282d87ae708 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Wed, 24 Apr 2024 11:27:27 +0200 Subject: Client FSM: Allow Disconnected state from GettingConfig --- client/fsm.go | 1 + 1 file changed, 1 insertion(+) (limited to 'client') 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"}, }, -- cgit v1.2.3