From a1169b524e3d65676a60cd6a205362f37441b09e Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 4 Jun 2024 16:27:21 +0200 Subject: Client FSM: Allow to go from Disconnected to Connecting Could be if cleanup has failed and a config is still alive --- client/fsm.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/fsm.go') diff --git a/client/fsm.go b/client/fsm.go index 3aaaf69..3c2ed80 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -162,7 +162,8 @@ func newFSM( }, StateDisconnected: FSMState{ Transitions: []FSMTransition{ - {To: StateGettingConfig, Description: "Connect again"}, + {To: StateConnecting, Description: "Connect with existing config"}, + {To: StateGettingConfig, Description: "Connect with a new config"}, {To: StateOAuthStarted, Description: "Renew"}, }, }, -- cgit v1.2.3