From ac9e9f72820ec44173f4f8cc47a36645c4abff61 Mon Sep 17 00:00:00 2001 From: David Wood Date: Mon, 21 Oct 2024 14:45:15 +0800 Subject: [PATCH] chore: fix function name in comment --- internal/home/clientshttp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/home/clientshttp.go b/internal/home/clientshttp.go index 3cc5a0c6..490ed922 100644 --- a/internal/home/clientshttp.go +++ b/internal/home/clientshttp.go @@ -487,7 +487,7 @@ func (clients *clientsContainer) findRuntime(ip netip.Addr, idStr string) (cj *c return cj } -// RegisterClientsHandlers registers HTTP handlers +// registerWebHandlers registers HTTP handlers func (clients *clientsContainer) registerWebHandlers() { httpRegister(http.MethodGet, "/control/clients", clients.handleGetClients) httpRegister(http.MethodPost, "/control/clients/add", clients.handleAddClient)