internal: use -go option to target 1.9 (#2550)

Staticcheck has a -go option which I _believe_ was recently added. This allows
us to pin to 1.9, preventing staticcheck from recommending we optimize to an
overly-recent version of Go.
This commit is contained in:
Jean de Klerk 2019-01-09 15:26:59 -08:00 committed by GitHub
parent b6f0a0f3fc
commit 253dfbcf7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
vet.sh
View File

@ -124,7 +124,7 @@ done
### END HACK HACK HACK
# TODO(menghanl): fix errors in transport_test.
staticcheck -ignore '
staticcheck -go 1.9 -ignore '
balancer.go:SA1019
balancer_test.go:SA1019
clientconn_test.go:SA1019