This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DATALAB-2409
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2409 by this push:
new dc1051a [DATALAB-2409] - [AWS] SSN configure refactored
dc1051a is described below
commit dc1051a81850de1cb6f95c89abc20fcfbb018beb
Author: bodnarmykola <[email protected]>
AuthorDate: Thu Jul 29 16:30:03 2021 +0300
[DATALAB-2409] - [AWS] SSN configure refactored
---
infrastructure-provisioning/scripts/deploy_datalab.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/scripts/deploy_datalab.py
b/infrastructure-provisioning/scripts/deploy_datalab.py
index 6ec51a0..42ad605 100644
--- a/infrastructure-provisioning/scripts/deploy_datalab.py
+++ b/infrastructure-provisioning/scripts/deploy_datalab.py
@@ -265,7 +265,7 @@ def generate_docker_command():
command.append('-v {}:/root/azure_auth.json
'.format(args.azure_auth_path))
elif args.conf_cloud_provider == 'gcp':
command.append('-v {}:/root/service_account.json
'.format(args.gcp_service_account_path))
- if args.ssl_cert_path != '' and args.ssl_key_path != '':
+ if args.ssl_cert_path and args.ssl_cert_path != '' and args.ssl_key_path
and args.ssl_key_path != '':
command.append('-v {}:/root/certs/datalab.crt -v
{}:/root/certs/datalab.key '.format(args.ssl_cert_path,
args.ssl_key_path))
attrs = vars(args)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]