From adf59e8c6cdaf050ef9cf09301111e7429ec0c37 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 13 Oct 2022 08:23:01 +0200 Subject: Client + Config + FSM: Simplify file names --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.go') diff --git a/client.go b/client.go index 6aa9a3a..ffa8802 100644 --- a/client.go +++ b/client.go @@ -90,11 +90,11 @@ func (client *Client) Register( } // Initialize the FSM - client.FSM = newFSM(name, stateCallback, directory, debug) + client.FSM = newFSM(stateCallback, directory, debug) client.Debug = debug // Initialize the Config - client.Config.Init(name, directory) + client.Config.Init(directory, "state") // Try to load the previous configuration if client.Config.Load(&client) != nil { -- cgit v1.2.3