Removes one more WAN leftover.
This commit is contained in:
parent
edb9a119e2
commit
9c069c5031
|
@ -818,7 +818,7 @@ func TestAgent_sendCoordinate(t *testing.T) {
|
||||||
time.Sleep(3 * conf.SyncCoordinateInterval)
|
time.Sleep(3 * conf.SyncCoordinateInterval)
|
||||||
|
|
||||||
// Make sure the coordinate is present.
|
// Make sure the coordinate is present.
|
||||||
req := structs.NodeSpecificRequest {
|
req := structs.NodeSpecificRequest{
|
||||||
Datacenter: agent.config.Datacenter,
|
Datacenter: agent.config.Datacenter,
|
||||||
Node: agent.config.NodeName,
|
Node: agent.config.NodeName,
|
||||||
}
|
}
|
||||||
|
|
|
@ -620,19 +620,12 @@ type ACLPolicy struct {
|
||||||
QueryMeta
|
QueryMeta
|
||||||
}
|
}
|
||||||
|
|
||||||
// Coordinate stores a node name with its associated network coordinate. This is
|
// Coordinate stores a node name with its associated network coordinate.
|
||||||
// used when querying WAN coordinates.
|
|
||||||
type Coordinate struct {
|
type Coordinate struct {
|
||||||
Node string
|
Node string
|
||||||
Coord *coordinate.Coordinate
|
Coord *coordinate.Coordinate
|
||||||
}
|
}
|
||||||
|
|
||||||
// CoordinateList is a list of Coordinate structs. This is used when querying WAN
|
|
||||||
// coordinates.
|
|
||||||
type CoordinateList struct {
|
|
||||||
Coords []Coordinate
|
|
||||||
}
|
|
||||||
|
|
||||||
// IndexedCoordinate is used to represent a single node's coordinate from the state
|
// IndexedCoordinate is used to represent a single node's coordinate from the state
|
||||||
// store. This is used when querying LAN coordinates.
|
// store. This is used when querying LAN coordinates.
|
||||||
type IndexedCoordinate struct {
|
type IndexedCoordinate struct {
|
||||||
|
|
Loading…
Reference in New Issue