Fixed golangci-lint issues: /fission/pkg/router (#1831)

This commit is contained in:
Gaurav Gahlot
2020-11-03 16:15:50 +05:30
committed by GitHub
parent 2f23120a64
commit aaf9f18d93
11 changed files with 77 additions and 49 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"net/http"
)
func testRequest(targetUrl string, expectedResponse string) {
resp, err := http.Get(targetUrl)
func testRequest(targetURL string, expectedResponse string) {
resp, err := http.Get(targetURL)
if err != nil {
log.Panicf("failed to make get request: %v", err)
}