From 253dfbcf7df6f170da2f603537cf37e706963203 Mon Sep 17 00:00:00 2001 From: Jean de Klerk Date: Wed, 9 Jan 2019 15:26:59 -0800 Subject: [PATCH] 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. --- vet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vet.sh b/vet.sh index 5c831df7c..94a50640b 100755 --- a/vet.sh +++ b/vet.sh @@ -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