This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch epm-v2.5.2.1 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 25a448aa32ee19ab5ece3a7e4a1a3e2d85d051ee 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]
