summaryrefslogtreecommitdiff
path: root/exports
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-20 10:12:01 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-11-20 10:40:20 +0100
commitc45726dbd6369405b033f2b17ddf07a1004d9bc4 (patch)
tree5531471cca21870406362659e7bc9634a2f206e8 /exports
parent257c743f8dae1fe3c6a1d899da852b7b61c54986 (diff)
FSM: Fix new keyword linting error
Diffstat (limited to 'exports')
-rw-r--r--exports/exports.go4
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,
)