Skip to content

Commit b638791

Browse files
ktockestesp
authored andcommitted
ci: bump up golangci-lint to v1.55.0
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> (cherry picked from commit 9fc407d)
1 parent 2370a28 commit b638791

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v3
4848
- uses: golangci/golangci-lint-action@v3
4949
with:
50-
version: v1.54.2
50+
version: v1.55.0
5151
skip-cache: true
5252
args: --timeout=8m
5353

integration/remote/util/util_windows.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ func parseEndpoint(endpoint string) (string, string, error) {
117117
return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil
118118
} else if u.Scheme == "" {
119119
return "", "", fmt.Errorf("Using %q as endpoint is deprecated, please consider using full url format", endpoint)
120-
} else {
121-
return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme)
122120
}
121+
return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme)
123122
}
124123

125124
var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")

0 commit comments

Comments
 (0)