Skip to content

Commit

Permalink
fifth commit
Browse files Browse the repository at this point in the history
  • Loading branch information
niuniudeadams committed Oct 9, 2023
1 parent fbf3f8d commit 7f7f6e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion control_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func NewControlPlane() (*ControlPlane, error) {
}

cp.server = transport.NewServer(uint32(10246), []model.SubscribeRequestHandler{cp.handleSubscribeRequest})
cp.xdsServer = transport.NewDiscoveryServer(uint32(8002), []model.SubscribeXDsRequestHandler{cp.handleXDSSubscribeRequest})
cp.xdsServer = transport.NewDiscoveryServer(uint32(10248), []model.SubscribeXDsRequestHandler{cp.handleXDSSubscribeRequest})
cp.operator = operator

hostname, herr := os.Hostname()
Expand Down
2 changes: 1 addition & 1 deletion pkg/test/xDSClient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func TestXDSClient(t *testing.T) {
// Define the address of the server
serverAddr := ":8002" // Replace with the actual address
serverAddr := ":10248" // Replace with the actual address

// Create a new XDSClient instance
client := grpc.NewxDSClient(serverAddr, "testNode", []string{controller.FaultToleranceRuleKind, controller.ThrottlingStrategyKind})
Expand Down

0 comments on commit 7f7f6e7

Please sign in to comment.