Update pkg/cluster/cluster.go
This commit is contained in:
parent
0b9df9dae9
commit
8f53b667ae
|
|
@ -1768,7 +1768,7 @@ func (c *Cluster) GetStatus() *ClusterStatus {
|
|||
|
||||
func (c *Cluster) GetSwitchoverSchedule() string {
|
||||
now := time.Now().UTC()
|
||||
return c.GetSwitchoverScheduleAtTime(now)
|
||||
return c.getSwitchoverScheduleAtTime(now)
|
||||
}
|
||||
|
||||
func (c *Cluster) getSwitchoverScheduleAtTime(now time.Time) string {
|
||||
|
|
|
|||
Loading…
Reference in New Issue