fix commont of controller manager leadermigration filter

Signed-off-by: sayaoailun <guojianwei007@126.com>
This commit is contained in:
sayaoailun 2021-11-12 16:52:37 +08:00
parent c98b388a84
commit 549a84f03e

View File

@ -20,14 +20,14 @@ package leadermigration
type FilterResult int32 type FilterResult int32
const ( 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. // and thus should NOT be started by this controller manager.
ControllerUnowned = iota ControllerUnowned = iota
// ControllerMigrated indicates that the controller manager should start this controller // ControllerMigrated indicates that the controller manager should start this controller
// with thte migration lock. // with the migration lock.
ControllerMigrated ControllerMigrated
// ControllerNonMigrated indicates that the controller manager should start this controller // ControllerNonMigrated indicates that the controller manager should start this controller
// with thte main lock. // with the main lock.
ControllerNonMigrated ControllerNonMigrated
) )