Update pkg/cluster/cluster.go

Co-authored-by: Mikkel Oscar Lyderik Larsen <mikkeloscar@users.noreply.github.com>
This commit is contained in:
Felix Kunde 2025-12-11 09:31:53 +01:00 committed by GitHub
parent 53ee08d30e
commit 0b9df9dae9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1771,7 +1771,7 @@ func (c *Cluster) GetSwitchoverSchedule() string {
return c.GetSwitchoverScheduleAtTime(now)
}
func (c *Cluster) GetSwitchoverScheduleAtTime(now time.Time) string {
func (c *Cluster) getSwitchoverScheduleAtTime(now time.Time) string {
var possibleSwitchover, schedule time.Time
for _, window := range c.Spec.MaintenanceWindows {