From a1fbe93daccad6c7bc75077cd8d20826504bfc6e Mon Sep 17 00:00:00 2001 From: Ross Kirkpatrick Date: Mon, 18 Nov 2024 15:00:13 -0500 Subject: [PATCH] continue using context.Background Signed-off-by: Ross Kirkpatrick --- cloud/linode/service_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/linode/service_controller.go b/cloud/linode/service_controller.go index abbf707d..f04167e9 100644 --- a/cloud/linode/service_controller.go +++ b/cloud/linode/service_controller.go @@ -110,5 +110,5 @@ func (s *serviceController) processNextDeletion() bool { func (s *serviceController) handleServiceDeleted(service *v1.Service) error { klog.Infof("ServiceController handling service (%s) deletion", getServiceNn(service)) clusterName := strings.TrimPrefix(service.Namespace, "kube-system-") - return s.loadbalancers.EnsureLoadBalancerDeleted(context.TODO(), clusterName, service) + return s.loadbalancers.EnsureLoadBalancerDeleted(context.Background(), clusterName, service) }