This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-2018 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit c1e8f715791533b573b26de047f9f06933c98e3d Author: leonidfrolov <frolovl...@gmail.com> AuthorDate: Tue Sep 1 17:33:58 2020 +0300 [DLAB-2018]: fixed AMI creation for jupyterlab --- .../src/general/scripts/aws/jupyterlab_configure.py | 2 +- .../src/general/scripts/gcp/jupyterlab_configure.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure-provisioning/src/general/scripts/aws/jupyterlab_configure.py b/infrastructure-provisioning/src/general/scripts/aws/jupyterlab_configure.py index d828df5..950afa1 100644 --- a/infrastructure-provisioning/src/general/scripts/aws/jupyterlab_configure.py +++ b/infrastructure-provisioning/src/general/scripts/aws/jupyterlab_configure.py @@ -275,7 +275,7 @@ if __name__ == "__main__": dlab.actions_lib.remove_ec2(notebook_config['tag_name'], notebook_config['instance_name']) sys.exit(1) - if notebook_config['shared_image_enabled'] == 'true': + if notebook_config['image_enabled'] == 'true': try: print('[CREATING AMI]') ami_id = dlab.meta_lib.get_ami_id_by_name(notebook_config['expected_image_name']) diff --git a/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py b/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py index ee95260..fb33356 100644 --- a/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py +++ b/infrastructure-provisioning/src/general/scripts/gcp/jupyterlab_configure.py @@ -213,7 +213,7 @@ if __name__ == "__main__": GCPActions.remove_instance(notebook_config['instance_name'], notebook_config['zone']) sys.exit(1) - if notebook_config['shared_image_enabled'] == 'true': + if notebook_config['image_enabled'] == 'true': try: print('[CREATING IMAGE]') primary_image_id = GCPMeta.get_image_by_name(notebook_config['expected_primary_image_name']) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org