chore: fix function name in comment
This commit is contained in:
parent
41cce62597
commit
ac9e9f7282
|
@ -487,7 +487,7 @@ func (clients *clientsContainer) findRuntime(ip netip.Addr, idStr string) (cj *c
|
||||||
return cj
|
return cj
|
||||||
}
|
}
|
||||||
|
|
||||||
// RegisterClientsHandlers registers HTTP handlers
|
// registerWebHandlers registers HTTP handlers
|
||||||
func (clients *clientsContainer) registerWebHandlers() {
|
func (clients *clientsContainer) registerWebHandlers() {
|
||||||
httpRegister(http.MethodGet, "/control/clients", clients.handleGetClients)
|
httpRegister(http.MethodGet, "/control/clients", clients.handleGetClients)
|
||||||
httpRegister(http.MethodPost, "/control/clients/add", clients.handleAddClient)
|
httpRegister(http.MethodPost, "/control/clients/add", clients.handleAddClient)
|
||||||
|
|
Loading…
Reference in New Issue