fix: use correct reachability type

This commit is contained in:
Steven Allen 2020-04-13 10:42:57 -07:00
parent 9d9170e9d8
commit 4cb536b589

View File

@ -59,7 +59,7 @@ type Reachability int
const ( const (
// ReachabilityUnknown indicates that the reachability status of the // ReachabilityUnknown indicates that the reachability status of the
// node is unknown. // node is unknown.
ReachabilityUnknown = iota ReachabilityUnknown Reachability = iota
// ReachabilityPublic indicates that the node is reachable from the // ReachabilityPublic indicates that the node is reachable from the
// public internet. // public internet.