You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/03/13 16:18:12 UTC
[incubator-dlab] 02/02: [DLAB-1594]: changed some lines
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1594
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit fa0a42130a44877bce46492e216ba01e187611a3
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Mar 13 18:09:31 2020 +0200
[DLAB-1594]: changed some lines
---
infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py b/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py
index 42871b1..073c0ad 100644
--- a/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py
+++ b/infrastructure-provisioning/scripts/LetsEncrypt/lets_encrypt.py
@@ -110,10 +110,10 @@ if __name__ == "__main__":
try:
if args.node_type != 'ssn_node' and node_type != 'edge_node':
print('Valid node type should be specified. Available options: ssn_node, edge_node')
- sys.exit(1)
+ raise Exception
if args.os_family != 'debian' and args.os_family != 'redhat':
print('Valid os family should be specified. Available options: debian, redhat')
- sys.exit(1)
+ raise Exception
install_certbot(args.os_family)
run_certbot(args.domain_name, args.email)
configure_nginx(args.domain_name, args.node_type)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org