Skip to content

Commit fa927e3

Browse files
[EV-6030] Fix CleanupAllNetworkSets Delete call
1 parent ac6e774 commit fa927e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

felix/fv/infrastructure/infra_k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ func cleanupAllNetworkSets(clientset *kubernetes.Clientset, client client.Interf
12131213
}
12141214
log.WithField("count", len(ns.Items)).Info("networksets present")
12151215
for _, n := range ns.Items {
1216-
_, err = client.NetworkSets().Delete(ctx, n.Name, n.Namespace, options.DeleteOptions{})
1216+
_, err = client.NetworkSets().Delete(ctx, n.Namespace, n.Name, options.DeleteOptions{})
12171217
if err != nil {
12181218
panic(err)
12191219
}

0 commit comments

Comments
 (0)