[grpc-gateway] Fix coverage build (#5545)

This commit is contained in:
AdamKorcz 2021-03-31 16:55:43 +01:00 committed by GitHub
parent e244631b16
commit a87a6d546b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@
if [ "$SANITIZER" = "coverage" ]
then
compile_go_fuzzer github.com/grpc-ecosystem/grpc-gateway/internal/httprule Fuzz fuzz gofuzz
go get github.com/grpc-ecosystem/grpc-gateway/...
compile_go_fuzzer github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule Fuzz fuzz gofuzz
else
compile_go_fuzzer github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule Fuzz fuzz gofuzz
fi