Some fixes suggested by golangci-lint
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
|
||||
// RemoveRoute removes a registered route in Kapow! server
|
||||
func RemoveRoute(host, id string) error {
|
||||
|
||||
url := host + "/routes/" + id
|
||||
return http.Delete(url, "", nil, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user