diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec1fa95aa..56d76b1b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v3 - uses: golangci/golangci-lint-action@v3 with: - version: v1.54.2 + version: v1.55.0 skip-cache: true args: --timeout=8m diff --git a/integration/remote/util/util_windows.go b/integration/remote/util/util_windows.go index 51d1b881a..59b94dd74 100644 --- a/integration/remote/util/util_windows.go +++ b/integration/remote/util/util_windows.go @@ -117,9 +117,8 @@ func parseEndpoint(endpoint string) (string, string, error) { return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil } else if u.Scheme == "" { return "", "", fmt.Errorf("Using %q as endpoint is deprecated, please consider using full url format", endpoint) - } else { - return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme) } + return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme) } var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")