Skip to content

Commit

Permalink
[Test Framework] Fix apps forwarder port
Browse files Browse the repository at this point in the history
Was using the service port, but should have been using the target port.

Fixes istio#13091
  • Loading branch information
nmittler committed Apr 18, 2019
1 parent 3edc87c commit 48f1d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/test/framework/components/apps/kube.go
Expand Up @@ -566,7 +566,7 @@ func (a *kubeApp) getGrpcPort() (uint16, error) {
if len(commandEndpoints) == 0 {
return 0, fmt.Errorf("unable fo find GRPC command port")
}
return uint16(commandEndpoints[0].(*endpoint).networkEndpoint.ServicePort.Port), nil
return uint16(commandEndpoints[0].(*endpoint).networkEndpoint.Port), nil
}

func (a *kubeApp) Name() string {
Expand Down

0 comments on commit 48f1d10

Please sign in to comment.