TUN-3237: By default, don't show connections that are pending reconnect

This commit is contained in:
Adam Chalmers
2020-08-05 15:43:56 -05:00
parent a7562dff68
commit 1b61d699c4
3 changed files with 36 additions and 9 deletions

View File

@@ -38,8 +38,9 @@ type Tunnel struct {
}
type Connection struct {
ColoName string `json:"colo_name"`
ID uuid.UUID `json:"uuid"`
ColoName string `json:"colo_name"`
ID uuid.UUID `json:"uuid"`
IsPendingReconnect bool `json:"is_pending_reconnect"`
}
// Route represents a record type that can route to a tunnel