kubernetes/pkg/controlplane/controller/leaderelection
ChengHao Yang 1360b939cf
Use contextual logging in leaderelection controller
Replace deprecated logging and wait APIs with their context-aware
alternatives in pkg/controlplane/controller/leaderelection/:

- utilruntime.HandleCrash -> HandleCrashWithContext
- utilruntime.HandleError -> HandleErrorWithContext
- cache.WaitForCacheSync -> WaitForNamedCacheSyncWithContext
- wait.Until -> wait.UntilWithContext

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-03-07 00:26:53 +08:00
..
election.go Add LeaseCandidate v1beta1 2025-03-12 17:52:10 +00:00
election_test.go Add LeaseCandidate v1beta1 2025-03-12 17:52:10 +00:00
leaderelection_controller.go Use contextual logging in leaderelection controller 2026-03-07 00:26:53 +08:00
leaderelection_controller_test.go Add LeaseCandidate v1beta1 2025-03-12 17:52:10 +00:00
leasecandidategc_controller.go Use contextual logging in leaderelection controller 2026-03-07 00:26:53 +08:00
leasecandidategc_controller_test.go Add LeaseCandidate v1beta1 2025-03-12 17:52:10 +00:00
OWNERS Add newline to fix owners fmt 2025-08-04 19:12:56 +00:00
run_with_leaderelection.go Use contextual logging in leaderelection controller 2026-03-07 00:26:53 +08:00