Skip to content

Commit

Permalink
xds: fix xds api change breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuxuan committed Mar 12, 2019
1 parent 5abb357 commit 0014030
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions balancer/xds/xds_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ var (
TypeUrl: edsType,
}
testCluster = &xdspb.Cluster{
Name: testServiceName,
Type: xdspb.Cluster_EDS,
LbPolicy: xdspb.Cluster_ROUND_ROBIN,
Name: testServiceName,
ClusterDiscoveryType: &xdspb.Cluster_Type{Type: xdspb.Cluster_EDS},
LbPolicy: xdspb.Cluster_ROUND_ROBIN,
}
marshaledCluster, _ = proto.Marshal(testCluster)
testCDSResp = &xdspb.DiscoveryResponse{
Expand Down Expand Up @@ -231,7 +231,7 @@ func (ttd *testTrafficDirector) StreamAggregatedResources(s xdsdiscoverypb.Aggre
}
}

func (ttd *testTrafficDirector) IncrementalAggregatedResources(xdsdiscoverypb.AggregatedDiscoveryService_IncrementalAggregatedResourcesServer) error {
func (ttd *testTrafficDirector) DeltaAggregatedResources(xdsdiscoverypb.AggregatedDiscoveryService_DeltaAggregatedResourcesServer) error {
return status.Error(codes.Unimplemented, "")
}

Expand Down

0 comments on commit 0014030

Please sign in to comment.