Merge pull request #106375 from sayaoailun/master

fix commont of controller manager leadermigration filter
This commit is contained in:
Kubernetes Prow Robot 2022-01-04 23:02:51 -08:00 committed by GitHub
commit 0e5cfcda02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
) )