aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdamKorcz <44787359+AdamKorcz@users.noreply.github.com>2021-03-31 16:55:43 +0100
committerGitHub <noreply@github.com>2021-03-31 08:55:43 -0700
commita87a6d546bed91c13e2513f50fe91c51ee74f7a7 (patch)
tree7fb538b15c404cde9ea3df45074fe4a36c4f60ca
parente244631b1679b9b6a5f535cd4e0023aa450b287d (diff)
downloadoss-fuzz-a87a6d546bed91c13e2513f50fe91c51ee74f7a7.tar.gz
[grpc-gateway] Fix coverage build (#5545)
-rwxr-xr-xprojects/grpc-gateway/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/grpc-gateway/build.sh b/projects/grpc-gateway/build.sh
index 06ed62920..19c4ac5f6 100755
--- a/projects/grpc-gateway/build.sh
+++ b/projects/grpc-gateway/build.sh
@@ -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