Skip to content

Commit 82b5e47

Browse files
committed
update missing arch error message
Show user their arch instead of showing them "None"
1 parent c7678a5 commit 82b5e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def install_helm_rootlessly_to_venv():
500500
uname_arch = os.uname().machine
501501
arch = query_arch_from_uname(uname_arch)
502502
if not arch:
503-
click.secho(f"No Helm binary candidate for arch: {arch}", fg="red")
503+
click.secho(f"No Helm binary candidate for arch: {uname_arch}", fg="red")
504504
sys.exit(1)
505505

506506
helm_filename = f"{HELM_BINARY_NAME}-{version}-{os_name}-{arch}.tar.gz"

0 commit comments

Comments
 (0)