This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-3073
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-3073 by this push:
     new 906010fda [DATALAB-3073]: added variable
906010fda is described below

commit 906010fda9ff881318758ba56791f799769dc4c8
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Oct 13 11:21:08 2022 +0300

    [DATALAB-3073]: added variable
---
 .../src/general/scripts/aws/common_terminate_notebook.py            | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/infrastructure-provisioning/src/general/scripts/aws/common_terminate_notebook.py
 
b/infrastructure-provisioning/src/general/scripts/aws/common_terminate_notebook.py
index 46ea321a2..2220a7900 100644
--- 
a/infrastructure-provisioning/src/general/scripts/aws/common_terminate_notebook.py
+++ 
b/infrastructure-provisioning/src/general/scripts/aws/common_terminate_notebook.py
@@ -117,6 +117,12 @@ if __name__ == "__main__":
                                                                   
notebook_config['project_name'],
                                                                   
notebook_config['endpoint_name']
                                                                  
).lower().replace('_', '-')
+
+    try:
+        notebook_config['exploratory_name'] = 
os.environ['exploratory_name'].lower()
+    except:
+        notebook_config['exploratory_name'] = ''
+
     notebook_config['tag_name'] = notebook_config['service_base_name'] + '-tag'
 
     try:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to