From eee70ef464f8108aa2306c6664b5517044dbb517 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 5 Jun 2023 10:46:15 +0200 Subject: Client: Remove bogus chosen server transition for renew This is not correct, we already do chosen server in the callback function --- client/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index e18f686..5ff995d 100644 --- a/client/client.go +++ b/client/client.go @@ -871,9 +871,8 @@ func (c *Client) RenewSession(ck *cookie.Cookie) (err error) { } // The server has not been chosen yet, this means that we want to manually renew // TODO: is this needed? - if !c.FSM.InState(StateChosenServer) { + if !c.FSM.InState(StateLoadingServer) { c.FSM.GoTransition(StateLoadingServer) //nolint:errcheck - c.FSM.GoTransition(StateChosenServer) //nolint:errcheck } // update tokens in the end defer func() { -- cgit v1.2.3