Skip to content

Commit

Permalink
continue using context.Background
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Kirkpatrick <[email protected]>
  • Loading branch information
rosskirkpat committed Nov 18, 2024
1 parent da255ac commit a1fbe93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/linode/service_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit a1fbe93

Please sign in to comment.