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)
|
||||
|
||||
// Make sure the coordinate is present.
|
||||
req := structs.NodeSpecificRequest {
|
||||
req := structs.NodeSpecificRequest{
|
||||
Datacenter: agent.config.Datacenter,
|
||||
Node: agent.config.NodeName,
|
||||
}
|
||||
|
|
|
@ -620,19 +620,12 @@ type ACLPolicy struct {
|
|||
QueryMeta
|
||||
}
|
||||
|
||||
// Coordinate stores a node name with its associated network coordinate. This is
|
||||
// used when querying WAN coordinates.
|
||||
// Coordinate stores a node name with its associated network coordinate.
|
||||
type Coordinate struct {
|
||||
Node string
|
||||
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
|
||||
// store. This is used when querying LAN coordinates.
|
||||
type IndexedCoordinate struct {
|
||||
|
|
Loading…
Reference in New Issue