Skip to content

Commit 2cd9da6

Browse files
authored
test: record peers by hostname in xds client (#3409)
1 parent e139b47 commit 2cd9da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interop/xds/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (s *statsService) GetClientStats(ctx context.Context, in *testpb.LoadBalanc
9494
select {
9595
case r := <-watcher.c:
9696
if r != nil {
97-
watcher.rpcsByPeer[(*r).GetServerId()]++
97+
watcher.rpcsByPeer[(*r).GetHostname()]++
9898
} else {
9999
watcher.numFailures++
100100
}

0 commit comments

Comments
 (0)