mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test: disable "unparam" for now
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
6f0ba5fa06
commit
c58f5cfeda
@ -120,7 +120,7 @@ func setupAuthStore(t *testing.T) (store *authStore, teardownfunc func(t *testin
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
tearDown := func(t *testing.T) {
|
||||
tearDown := func(_ *testing.T) {
|
||||
b.Close()
|
||||
os.Remove(tPath)
|
||||
as.Close()
|
||||
|
@ -276,7 +276,7 @@ func (sctx *serveCtx) createMux(gwmux *gw.ServeMux, handler http.Handler) *http.
|
||||
gwmux,
|
||||
wsproxy.WithRequestMutator(
|
||||
// Default to the POST method for streams
|
||||
func(incoming *http.Request, outgoing *http.Request) *http.Request {
|
||||
func(_ *http.Request, outgoing *http.Request) *http.Request {
|
||||
outgoing.Method = "POST"
|
||||
return outgoing
|
||||
},
|
||||
|
2
test
2
test
@ -616,6 +616,7 @@ function commit_title_pass {
|
||||
function fmt_pass {
|
||||
toggle_failpoints disable
|
||||
|
||||
# TODO: add "unparam"
|
||||
for p in shellcheck \
|
||||
markdown_you \
|
||||
markdown_marker \
|
||||
@ -625,7 +626,6 @@ function fmt_pass {
|
||||
govet_shadow \
|
||||
gosimple \
|
||||
unused \
|
||||
unparam \
|
||||
staticcheck \
|
||||
revive \
|
||||
unconvert \
|
||||
|
Loading…
x
Reference in New Issue
Block a user