summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-06-04 16:27:21 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-06-04 16:27:21 +0200
commita1169b524e3d65676a60cd6a205362f37441b09e (patch)
tree040e79e101c5f581668c8f98a7bcef2bc8dfb912 /client
parent8f4c6f2cc0150f2a54bc501ed9491d1082653907 (diff)
Client FSM: Allow to go from Disconnected to Connecting
Could be if cleanup has failed and a config is still alive
Diffstat (limited to 'client')
-rw-r--r--client/fsm.go3
1 files changed, 2 insertions, 1 deletions
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"},
},
},