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

adamsd pushed a commit to branch gcp-dataengine
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit e31a24c9d8af2774868416db35531ba951823e86
Author: AdamsDisturber <adamsdistur...@gmail.com>
AuthorDate: Thu Sep 12 17:28:28 2019 +0300

    [DLAB-1090]:Fixed name of primary disk for dataproc.
---
 infrastructure-provisioning/src/general/lib/gcp/actions_lib.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py 
b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
index 6b405a6..cdbae10 100644
--- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py
@@ -854,13 +854,13 @@ class GCPActions:
                     slave_instances = 
cluster.get('config').get('workerConfig').get('instanceNames')
                     for instance in master_instances:
                         param = {}
-                        param['name'] = instance
-                        param['tag_name'] = instance + '-volume-primary'
+                        param['name'] = clusteName
+                        param['tag_name'] = clusteName + '-volume-primary'
                         dataproc_instances.append(param)
                     for instance in slave_instances:
                         param = {}
-                        param['name'] = instance
-                        param['tag_name'] = instance + '-volume-primary'
+                        param['name'] = clusteName
+                        param['tag_name'] = clusteName + '-volume-primary'
                         dataproc_instances.append(param)
             GCPActions().set_disks_tag(dataproc_instances, zone, labels)
         except Exception as err:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org
For additional commands, e-mail: commits-h...@dlab.apache.org

Reply via email to