summaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 12:40:47 +0200
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 12:40:47 +0200
commit347b20fc91505584bc9efbeca89590a411b95e79 (patch)
tree9dfc600e957c4a881115f8bc8a9cc107a4f0cc9c /client/client.go
parent9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 (diff)
All: Run modernize --test --fix
Diffstat (limited to 'client/client.go')
-rw-r--r--client/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.go b/client/client.go
index d3e438f..6c905ca 100644
--- a/client/client.go
+++ b/client/client.go
@@ -113,7 +113,7 @@ func (c *Client) goTransition(id fsm.StateID) error {
// - debug: whether or not we want to enable debugging
//
// It returns an error if initialization failed, for example when discovery cannot be obtained and when there are no servers.
-func New(name string, version string, directory string, stateCallback func(FSMStateID, FSMStateID, interface{}) bool, debug bool) (c *Client, err error) {
+func New(name string, version string, directory string, stateCallback func(FSMStateID, FSMStateID, any) bool, debug bool) (c *Client, err error) {
// We create the client by filling fields one by one
c = &Client{}