mirror of https://github.com/status-im/consul.git
Comment why the interface is needed: cyclic import
This commit is contained in:
parent
3ecd72f3b5
commit
cf59a860e7
|
@ -47,6 +47,8 @@ const (
|
|||
newRebalanceConnsPerSecPerServer = 64
|
||||
)
|
||||
|
||||
// ConsulClusterInfo is an interface wrapper around serf and prevents a
|
||||
// cyclic import dependency
|
||||
type ConsulClusterInfo interface {
|
||||
NumNodes() int
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue