summaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-20 16:31:29 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit30f6a4c9991b42ebade54221dbf7f9e0f20e94f4 (patch)
tree56e9be1fb98c6579a17a6aabea197b07a6c80467 /client/client.go
parent2388b826cc8c0507bc840a728d005450d91adf4b (diff)
Client: Remove servers argument to transition
Diffstat (limited to 'client/client.go')
-rw-r--r--client/client.go4
1 files changed, 2 insertions, 2 deletions
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() {