Skip to content

Commit d0eb9fb

Browse files
committedMar 22, 2021
fix(k8sworker): error messager
Signed-off-by: Chris Snow <[email protected]>
1 parent db15ee3 commit d0eb9fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎hpecp/cli/k8sworker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ def create_with_ssh_key(
8686
"""
8787
if ssh_key is None and ssh_key_file is None:
8888
print(
89-
"Either ssh_key or ssh_key_file must be provided",
89+
"At least one of ssh_key or ssh_key_file must be provided",
9090
file=sys.stderr,
9191
)
9292
sys.exit(1)
9393

9494
if ssh_key is not None and ssh_key_file is not None:
9595
print(
96-
"Either ssh_key or ssh_key_file must be provided",
96+
"Either ssh_key or ssh_key_file must be provided, but not both.",
9797
file=sys.stderr,
9898
)
9999
sys.exit(1)

0 commit comments

Comments
 (0)
Please sign in to comment.