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 --- fsm.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fsm.go') diff --git a/fsm.go b/fsm.go index ae5bfdc..25d3e79 100644 --- a/fsm.go +++ b/fsm.go @@ -95,7 +95,6 @@ func GetStateName(s FSMStateID) string { } func newFSM( - name string, callback func(FSMStateID, FSMStateID, interface{}), directory string, debug bool, @@ -201,7 +200,7 @@ func newFSM( }, } returnedFSM := fsm.FSM{} - returnedFSM.Init(name, STATE_DEREGISTERED, states, callback, directory, GetStateName, debug) + returnedFSM.Init(STATE_DEREGISTERED, states, callback, directory, GetStateName, debug) return returnedFSM } -- cgit v1.2.3