Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xds interop: update interop client to support new tests #3737

Merged
merged 4 commits into from
Jul 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[xds_interop_client_rpc_metadata] c2
  • Loading branch information
menghanl committed Jul 27, 2020
commit c782e642c398f8f2a90d522fdf23de53667d4d3d
4 changes: 2 additions & 2 deletions interop/xds/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ const (

func parseRPCTypes(rpcStr string) (ret []string) {
if len(rpcStr) == 0 {
return []string{"UnaryCall"}
return []string{unaryCall}
}

rpcs := strings.Split(rpcStr, ",")
for _, r := range rpcs {
switch r {
case "UnaryCall", "EmptyCall":
case unaryCall, emptyCall:
ret = append(ret, r)
default:
flag.PrintDefaults()
Expand Down