From 7b436a4e30085315cdb04d50e59a93ba93d2ecce Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Sat, 6 Apr 2019 09:46:39 -0500 Subject: [PATCH] remove now-unused cluster.status method --- cluster.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cluster.go b/cluster.go index 4012381fd..204a1016b 100644 --- a/cluster.go +++ b/cluster.go @@ -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{