mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #106375 from sayaoailun/master
fix commont of controller manager leadermigration filter
This commit is contained in:
commit
0e5cfcda02
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user