Skip to content

Commit 79e87cd

Browse files
committed
lint
1 parent bbc85fc commit 79e87cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/server/proxy/handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type HttpHandlerMappings []HttpHandlerMapping
5959

6060
// Sort mappings by weight
6161
// higher weight means that the mapping is more specific and should be matched first
62-
// Example: /clusters/cluster1/ will be matched before /clusters/
62+
// Example: /clusters/cluster1/ will be matched before /clusters/ .
6363
func (h HttpHandlerMappings) Sort() {
6464
for i := range h {
6565
for j := range h {
@@ -82,7 +82,7 @@ func (h *HttpHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
8282
// 3. Iterate over mappings and find the one that matches the URL. If found,
8383
// use the handler for that mapping, else use default handler - kcp.
8484
// Mappings are done from most specific to least specific:
85-
// Example: /clusters/cluster1/ will be matched before /clusters/
85+
// Example: /clusters/cluster1/ will be matched before /clusters/ .
8686
for _, m := range h.Mappings {
8787
url, errorCode := h.resolveURL(r)
8888
if errorCode != 0 {

0 commit comments

Comments
 (0)