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 /cmd | |
| parent | 257c743f8dae1fe3c6a1d899da852b7b61c54986 (diff) | |
FSM: Fix new keyword linting error
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/cli/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 6f074fb..e7b2379 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -111,8 +111,8 @@ func printConfig(url string, srvType srvtypes.Type) { "org.eduvpn.app.linux", fmt.Sprintf("%s-cli", version.Version), "configs", - func(old client.FSMStateID, new client.FSMStateID, data interface{}) bool { - stateCallback(c, old, new, data) + func(oldState client.FSMStateID, newState client.FSMStateID, data interface{}) bool { + stateCallback(c, oldState, newState, data) return true }, true, |
