We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 332413b commit 900920eCopy full SHA for 900920e
src/warnet/control.py
@@ -133,7 +133,7 @@ def down():
133
pods = get_pods()
134
with console.status("[yellow]Cleaning up remaining pods...[/yellow]"):
135
for pod in pods.items:
136
- cmd = f"kubectl delete pod --ignore-not-found=true {pod.metadata.name}"
+ cmd = f"kubectl delete pod --ignore-not-found=true {pod.metadata.name} -n {get_default_namespace()}"
137
if stream_command(cmd):
138
console.print(f"[green]Deleted pod: {pod.metadata.name}[/green]")
139
else:
0 commit comments