File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,8 @@ def stop_scenario(scenario_name):
80
80
"""Stop a single scenario using Helm"""
81
81
# Stop the pod immediately (faster than uninstalling)
82
82
namespace = get_default_namespace ()
83
- resp = delete_pod (scenario_name , namespace , grace_period = 0 , force = True )
84
- if resp .status == "Success" :
85
- console .print (f"[bold green]Successfully stopped scenario: { scenario_name } [/bold green]" )
86
- else :
87
- console .print (f"[bold red]Failed to stop scenario: { scenario_name } [/bold red]" )
83
+ delete_pod (scenario_name , namespace , grace_period = 0 , force = True )
84
+ console .print (f"[bold yellow]Requested scenario stop: { scenario_name } [/bold yellow]" )
88
85
89
86
# Then uninstall via helm (non-blocking)
90
87
command = f"helm uninstall { scenario_name } --namespace { namespace } --wait=false"
You can’t perform that action at this time.
0 commit comments