This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/develop by this push:
new 59b5c4958 [DATALAB-3003]: Added fix when image termination fails if
image name contains an underscore symbol
new 7a9d689a5 Merge pull request #1698 from OleksandrRepnikov/DATALAB-3003
59b5c4958 is described below
commit 59b5c49580c973fa0382792c370157d03173b48d
Author: orepnikov <[email protected]>
AuthorDate: Mon Aug 29 18:00:44 2022 +0300
[DATALAB-3003]: Added fix when image termination fails if image name
contains an underscore symbol
---
.../src/general/scripts/gcp/common_terminate_notebook_image.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
index c1e774838..7ff8d2472 100644
---
a/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
+++
b/infrastructure-provisioning/src/general/scripts/gcp/common_terminate_notebook_image.py
@@ -33,7 +33,7 @@ if __name__ == "__main__":
image_conf = dict()
GCPMeta = datalab.meta_lib.GCPMeta()
GCPActions = datalab.actions_lib.GCPActions()
- image_conf['image_name'] = os.environ['notebook_image_name']
+ image_conf['image_name'] =
os.environ['notebook_image_name'].replace('_', '-').lower()
image_conf['service_base_name'] = os.environ['conf_service_base_name']
= datalab.fab.replace_multi_symbols(
os.environ['conf_service_base_name'][:20], '-', True)
image_conf['endpoint_name'] =
(os.environ['endpoint_name']).replace('_', '-').lower()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]