You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/09/08 10:16:59 UTC

[incubator-datalab] 01/03: [DATALAB-1408]: fixed cluster tags

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

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

commit d9205c9fee1db8c97d073d5ca697941fd82f01f1
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Sep 8 12:49:55 2022 +0300

    [DATALAB-1408]: fixed cluster tags
---
 .../src/general/scripts/azure/dataengine-service_prepare.py       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_prepare.py b/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_prepare.py
index e0851272b..e93c50b10 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_prepare.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_prepare.py
@@ -69,13 +69,13 @@ if __name__ == "__main__":
                                                                   hdinsight_conf['computational_name'])
 
         hdinsight_conf['cluster_tags'] = {
-            "name": hdinsight_conf['cluster_name'],
-            "sbn": hdinsight_conf['service_base_name'],
+            "Name": hdinsight_conf['cluster_name'],
+            "SBN": hdinsight_conf['service_base_name'],
             "notebook_name": os.environ['notebook_instance_name'],
             "product": "datalab",
             "computational_name": hdinsight_conf['computational_name'],
-            "project": hdinsight_conf['project_name'],
-            "endpoint": hdinsight_conf['endpoint_name']
+            "project_tag": hdinsight_conf['project_name'],
+            "endpoint_tag": hdinsight_conf['endpoint_name']
         }
 
         hdinsight_conf['custom_tag'] = json.loads(os.environ['tags'].replace("'", '"'))['custom_tag']


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org