Remove Port from registry
This commit is contained in:
		| @@ -14,13 +14,11 @@ func TestStrategies(t *testing.T) { | ||||
| 			Nodes: []*registry.Node{ | ||||
| 				®istry.Node{ | ||||
| 					Id:      "test1-1", | ||||
| 					Address: "10.0.0.1", | ||||
| 					Port:    1001, | ||||
| 					Address: "10.0.0.1:1001", | ||||
| 				}, | ||||
| 				®istry.Node{ | ||||
| 					Id:      "test1-2", | ||||
| 					Address: "10.0.0.2", | ||||
| 					Port:    1002, | ||||
| 					Address: "10.0.0.2:1002", | ||||
| 				}, | ||||
| 			}, | ||||
| 		}, | ||||
| @@ -30,13 +28,11 @@ func TestStrategies(t *testing.T) { | ||||
| 			Nodes: []*registry.Node{ | ||||
| 				®istry.Node{ | ||||
| 					Id:      "test1-3", | ||||
| 					Address: "10.0.0.3", | ||||
| 					Port:    1003, | ||||
| 					Address: "10.0.0.3:1003", | ||||
| 				}, | ||||
| 				®istry.Node{ | ||||
| 					Id:      "test1-4", | ||||
| 					Address: "10.0.0.4", | ||||
| 					Port:    1004, | ||||
| 					Address: "10.0.0.4:1004", | ||||
| 				}, | ||||
| 			}, | ||||
| 		}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user