summaryrefslogtreecommitdiff
path: root/fsm.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-13 08:23:01 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-13 13:07:59 +0200
commitadf59e8c6cdaf050ef9cf09301111e7429ec0c37 (patch)
treef3b4f2e09b81417bf9bc8ec6168bf3404da974b0 /fsm.go
parent242903aa810797102b14e27dda988fff7ab833cc (diff)
Client + Config + FSM: Simplify file names
Diffstat (limited to 'fsm.go')
-rw-r--r--fsm.go3
1 files changed, 1 insertions, 2 deletions
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
}