Skip to content

Commit e3e78f5

Browse files
committed
clarify console text
1 parent eee99d6 commit e3e78f5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/warnet/control.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,8 @@ def stop_scenario(scenario_name):
8181
"""Stop a single scenario using Helm"""
8282
# Stop the pod immediately (faster than uninstalling)
8383
namespace = get_default_namespace()
84-
resp = delete_pod(scenario_name, namespace, grace_period=0, force=True)
85-
if resp.status == "Success":
86-
console.print(f"[bold green]Successfully stopped scenario: {scenario_name}[/bold green]")
87-
else:
88-
console.print(f"[bold red]Failed to stop scenario: {scenario_name}[/bold red]")
84+
delete_pod(scenario_name, namespace, grace_period=0, force=True)
85+
console.print(f"[bold yellow]Requested scenario stop: {scenario_name}[/bold yellow]")
8986

9087
# Then uninstall via helm (non-blocking)
9188
command = f"helm uninstall {scenario_name} --namespace {namespace} --wait=false"

0 commit comments

Comments
 (0)