mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
remove now-unused cluster.status method
This commit is contained in:
parent
79968e5d2f
commit
7b436a4e30
1 changed files with 0 additions and 6 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue