Browse Source

Merge "k8s: Fix delete_namespace to use kwargs properly"

Zuul 1 week ago
parent
commit
77d31dc126
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      nodepool/driver/kubernetes/provider.py

+ 1
- 1
nodepool/driver/kubernetes/provider.py View File

@@ -114,7 +114,7 @@ class KubernetesProvider(Provider):
114 114
             "propagationPolicy": "Background"
115 115
         }
116 116
         try:
117
-            self.k8s_client.delete_namespace(server_id, delete_body)
117
+            self.k8s_client.delete_namespace(server_id, body=delete_body)
118 118
             self.log.info("%s: namespace removed" % server_id)
119 119
         except Exception:
120 120
             # TODO: implement better exception handling

Loading…
Cancel
Save