From 30f6a4c9991b42ebade54221dbf7f9e0f20e94f4 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 20 Mar 2023 16:31:29 +0100 Subject: Client: Remove servers argument to transition --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/client.go') diff --git a/client/client.go b/client/client.go index 295fa04..31110bd 100644 --- a/client/client.go +++ b/client/client.go @@ -185,8 +185,8 @@ func (c *Client) Register( log.Logger.Infof("Previous configuration not found") } - // Go to the No Server state with the saved servers after we're done - defer c.FSM.GoTransitionWithData(StateNoServer, c.Servers) + // Go to the No Server state after we're done + defer c.FSM.GoTransition(StateNoServer) // Let's Connect! doesn't care about discovery if c.isLetsConnect() { -- cgit v1.2.3