remove now-unused cluster.status method

This commit is contained in:
Matt Jaffee 2019-04-06 09:46:39 -05:00
parent 79968e5d2f
commit 7b436a4e30
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF

View file

@ -551,12 +551,6 @@ func (c *cluster) determineClusterState() (clusterState string) {
return ClusterStateStarting
}
func (c *cluster) status() *ClusterStatus {
c.mu.RLock()
defer c.mu.RUnlock()
return c.unprotectedStatus()
}
// unprotectedStatus returns the the cluster's status including what nodes it contains, its ID, and current state.
func (c *cluster) unprotectedStatus() *ClusterStatus {
return &ClusterStatus{