diff options
| -rw-r--r-- | client/client.go | 2 | ||||
| -rw-r--r-- | client/fsm.go | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/client.go b/client/client.go index 291b190..6a4e665 100644 --- a/client/client.go +++ b/client/client.go @@ -143,7 +143,7 @@ func New(name string, version string, directory string, stateCallback func(FSMSt http.RegisterAgent(userAgentName(name), version) // Initialize the FSM - c.FSM = newFSM(stateCallback, directory, debug) + c.FSM = newFSM(stateCallback, directory) // Debug only if given c.Debug = debug diff --git a/client/fsm.go b/client/fsm.go index 92e4de7..3aaaf69 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -92,7 +92,6 @@ func GetStateName(s FSMStateID) string { func newFSM( callback func(FSMStateID, FSMStateID, interface{}) bool, directory string, - debug bool, ) fsm.FSM { states := FSMStates{ StateDeregistered: FSMState{ |
