mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
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…
x
Reference in New Issue
Block a user