From e570e3ca63ca222f12d20cd45e2c8f492f3b40e9 Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Sun, 29 Sep 2024 15:43:18 +0800 Subject: [PATCH] fix lint Signed-off-by: lhy1024 --- pkg/schedule/checker/checker_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/schedule/checker/checker_controller.go b/pkg/schedule/checker/checker_controller.go index e0b2b14bd0c..9c9ae8fbed6 100644 --- a/pkg/schedule/checker/checker_controller.go +++ b/pkg/schedule/checker/checker_controller.go @@ -491,6 +491,7 @@ func (c *Controller) GetPauseController(name string) (*PauseController, error) { } } +// IsPatrolRegionChanEmpty returns whether the patrol region channel is empty. func (c *Controller) IsPatrolRegionChanEmpty() bool { if c.patrolRegionContext == nil { return true