From cb26e874f794ef3a263fa3b7c96dbc10cd73da2c Mon Sep 17 00:00:00 2001 From: Easwar Swaminathan Date: Tue, 29 Aug 2023 20:45:02 +0000 Subject: [PATCH] vet: ensure all usages of grpc_testing package are renamed when importing --- vet.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vet.sh b/vet.sh index bbc9e2e3c8e3..bb480f1f9cca 100755 --- a/vet.sh +++ b/vet.sh @@ -93,6 +93,9 @@ git grep -l -e 'grpclog.I' --or -e 'grpclog.W' --or -e 'grpclog.E' --or -e 'grpc # - Ensure all ptypes proto packages are renamed when importing. not git grep "\(import \|^\s*\)\"github.com/golang/protobuf/ptypes/" -- "*.go" +# - Ensure all usages of grpc_testing package are renamed when importing. +not git grep "\(import \|^\s*\)\"google.golang.org/grpc/interop/grpc_testing" -- "*.go" + # - Ensure all xds proto imports are renamed to *pb or *grpc. git grep '"github.com/envoyproxy/go-control-plane/envoy' -- '*.go' ':(exclude)*.pb.go' | not grep -v 'pb "\|grpc "'