Skip to content

Commit a1f0a74

Browse files
committed
improve the error messages
1 parent d1533a0 commit a1f0a74

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

recipes/perl/create_policy_with_defaults.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ sub user_input {
5656
) or die print_usage();
5757

5858
if ($nbmaster eq "") {
59-
print("Please provide the value for 'nbmaster', 'username' and 'password'");
59+
print("Please provide the value for 'nbmaster'");
6060
exit;
6161
}
6262

6363
if ($username eq "") {
64-
print("Please provide the value for 'nbmaster', 'username' and 'password'");
64+
print("Please provide the value for 'username'");
6565
exit;
6666
}
6767

6868
if ($password eq "") {
69-
print("Please provide the value for 'nbmaster', 'username' and 'password'");
69+
print("Please provide the value for 'password'");
7070
exit;
7171
}
7272

recipes/perl/create_policy_without_defaults.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ sub user_input {
5656
) or die print_usage();
5757

5858
if ($nbmaster eq "") {
59-
print("Please provide the value for 'nbmaster', 'username' and 'password'");
59+
print("Please provide the value for 'nbmaster'");
6060
exit;
6161
}
6262

6363
if ($username eq "") {
64-
print("Please provide the value for 'nbmaster', 'username' and 'password'");
64+
print("Please provide the value for 'username'");
6565
exit;
6666
}
6767

6868
if ($password eq "") {
69-
print("Please provide the value for 'nbmaster', 'username' and 'password'");
69+
print("Please provide the value for 'password'");
7070
exit;
7171
}
7272

0 commit comments

Comments
 (0)