Skip to content

Commit e0498a6

Browse files
committed
control: add "please install helm"
1 parent 7974c5d commit e0498a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/warnet/control.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ def filter(path):
339339
except subprocess.CalledProcessError as e:
340340
print(f"Failed to deploy scenario commander: {scenario_name}")
341341
print(f"Error: {e.stderr}")
342+
except FileNotFoundError as e:
343+
click.secho(e)
344+
click.secho("Please install Helm.", fg="red")
345+
sys.exit(1)
342346

343347
# upload scenario files and network data to the init container
344348
wait_for_init(name, namespace=namespace)

0 commit comments

Comments
 (0)