This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DATALAB-2674 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit aee33eeab0af754610584adfa1a8ac704234b9fd Author: leonidfrolov <[email protected]> AuthorDate: Tue Feb 1 14:19:34 2022 +0200 [DATALAB-2674]: moved create_instance arguments to new line --- infrastructure-provisioning/src/general/lib/gcp/actions_lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py index 025f1b5..69eb9e7 100644 --- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py +++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py @@ -320,7 +320,8 @@ class GCPActions: initial_user, image_name, secondary_image_name, service_account_name, instance_class, network_tag, labels, static_ip='', primary_disk_size='12', secondary_disk_size='30', - gpu_accelerator_type='None', gpu_accelerator_count='1', os_login_enabled='FALSE', block_project_ssh_keys='FALSE'): + gpu_accelerator_type='None', gpu_accelerator_count='1', + os_login_enabled='FALSE', block_project_ssh_keys='FALSE'): key = RSA.importKey(open(ssh_key_path, 'rb').read()) ssh_key = key.publickey().exportKey("OpenSSH").decode('UTF-8') unique_index = datalab.meta_lib.GCPMeta().get_index_by_service_account_name(service_account_name) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
