diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-11-20 10:12:01 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-11-20 10:40:20 +0100 |
| commit | c45726dbd6369405b033f2b17ddf07a1004d9bc4 (patch) | |
| tree | 5531471cca21870406362659e7bc9634a2f206e8 /exports | |
| parent | 257c743f8dae1fe3c6a1d899da852b7b61c54986 (diff) | |
FSM: Fix new keyword linting error
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/exports.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exports/exports.go b/exports/exports.go index 6df8c33..1347c35 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -150,8 +150,8 @@ func Register( C.GoString(name), C.GoString(version), C.GoString(configDirectory), - func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool { - return stateCallback(cb, old, new, data) + func(oldState client.FSMStateID, newState client.FSMStateID, data interface{}) bool { + return stateCallback(cb, oldState, newState, data) }, debug != 0, ) |
