Skip to content

Commit

Permalink
vet: ensure all usages of grpc_testing package are renamed when impor…
Browse files Browse the repository at this point in the history
…ting (#6595)
  • Loading branch information
easwars authored Aug 29, 2023
1 parent d045b41 commit aa6ce35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "'

Expand Down

0 comments on commit aa6ce35

Please sign in to comment.