Clarify that ConsulClusterInfo is an interface over serf

An interface was used to break a cyclic import dependency.
This commit is contained in:
Sean Chittenden 2016-03-25 12:38:40 -07:00
parent b8bbdb9e7a
commit b00db393e7
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@ type ServerManager struct {
logger *log.Logger
// serf is used to estimate the approximate number of nodes in a
// cluster and limit the rate at which it rebalances server
// connections
// clusterInfo is used to estimate the approximate number of nodes in
// a cluster and limit the rate at which it rebalances server
// connections. ConsulClusterInfo is an interface that wraps serf.
clusterInfo ConsulClusterInfo
// notifyFailedServersBarrier is acts as a barrier to prevent