From 347b20fc91505584bc9efbeca89590a411b95e79 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Tue, 6 May 2025 12:40:47 +0200 Subject: All: Run modernize --test --fix --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/client.go') 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{} -- cgit v1.2.3