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 @@ -81,11 +81,8 @@ def stop_scenario(scenario_name):
81
81
"""Stop a single scenario using Helm"""
82
82
# Stop the pod immediately (faster than uninstalling)
83
83
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]" )
89
86
90
87
# Then uninstall via helm (non-blocking)
91
88
command = f"helm uninstall { scenario_name } --namespace { namespace } --wait=false"
You can’t perform that action at this time.
0 commit comments