From f8627a7041d7c1bfda9b641d35265a10e8e1ffc0 Mon Sep 17 00:00:00 2001 From: Janik K <10290002+led0nk@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:31:18 +0100 Subject: [PATCH] [chore] fix lint in cmd/opampsupervisor (#31939) **Description:** should be the last one **Link to tracking Issue:** - #31240 --- cmd/opampsupervisor/supervisor/supervisor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/opampsupervisor/supervisor/supervisor.go b/cmd/opampsupervisor/supervisor/supervisor.go index 5bde161c77d3..5582a6978cae 100644 --- a/cmd/opampsupervisor/supervisor/supervisor.go +++ b/cmd/opampsupervisor/supervisor/supervisor.go @@ -240,7 +240,7 @@ func (s *Supervisor) getBootstrapInfo() (err error) { err = srv.Start(newServerSettings(flattenedSettings{ endpoint: fmt.Sprintf("localhost:%d", supervisorPort), - onConnectingFunc: func(request *http.Request) { + onConnectingFunc: func(_ *http.Request) { connected.Store(true) },