We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7742c25 commit 4ea2258Copy full SHA for 4ea2258
1 file changed
topo/node/drivenets/drivenets.go
@@ -457,6 +457,7 @@ func (n *Node) cdnosDelete(ctx context.Context) error {
457
// - ownerReference is Cdnos/<node>
458
func (n *Node) servicesForNode(ctx context.Context) ([]corev1.Service, error) {
459
// Use a short-lived background context for API calls to avoid parent ctx deadline cancellations.
460
+ _ = ctx // ctx is intentionally unused to avoid parent deadline cancellations
461
listCtx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
462
defer cancel()
463
list, err := n.KubeClient.CoreV1().Services(n.Namespace).List(listCtx, metav1.ListOptions{})
0 commit comments