From 549a84f03ebec8467a44257b61a0d76a8f0eb8a8 Mon Sep 17 00:00:00 2001 From: sayaoailun Date: Fri, 12 Nov 2021 16:52:37 +0800 Subject: [PATCH] fix commont of controller manager leadermigration filter Signed-off-by: sayaoailun --- .../k8s.io/controller-manager/pkg/leadermigration/filter.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/staging/src/k8s.io/controller-manager/pkg/leadermigration/filter.go b/staging/src/k8s.io/controller-manager/pkg/leadermigration/filter.go index 34496a1c14d..a3e8f2187f4 100644 --- a/staging/src/k8s.io/controller-manager/pkg/leadermigration/filter.go +++ b/staging/src/k8s.io/controller-manager/pkg/leadermigration/filter.go @@ -20,14 +20,14 @@ package leadermigration type FilterResult int32 const ( - // ControllerOwned indicates that the controller is owned by another controller manager + // ControllerUnowned indicates that the controller is owned by another controller manager // and thus should NOT be started by this controller manager. ControllerUnowned = iota // ControllerMigrated indicates that the controller manager should start this controller - // with thte migration lock. + // with the migration lock. ControllerMigrated // ControllerNonMigrated indicates that the controller manager should start this controller - // with thte main lock. + // with the main lock. ControllerNonMigrated )