You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2020/10/21 08:45:18 UTC
[incubator-datalab] 02/02: [DATALAB-1952]: Fixed value of master
instance number for Dataproc
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch DATALAB-2114
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 7e764a4220993dda108d81ac975ccfb06341e8af
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Wed Oct 21 11:44:43 2020 +0300
[DATALAB-1952]: Fixed value of master instance number for Dataproc
---
.../computational/cluster-details/cluster-details.component.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
index 0b4e072..71b5ae5 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
@@ -73,7 +73,8 @@
</ng-template>
<div class="col">
<span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'aws'">{{ resource.totalInstanceCount > 0 ? resource.totalInstanceCount : resource.dataengine_instance_count}}</span>
- <span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'gcp' || DICTIONARY[PROVIDER].cloud_provider === 'azure'">{{resource.dataengine_instance_count}}</span>
+ <span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'gcp' && resource.image === 'docker.datalab-dataengine' || DICTIONARY[PROVIDER].cloud_provider === 'azure'">{{resource.dataengine_instance_count}}</span>
+ <span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'gcp' && resource.image === 'docker.datalab-dataengine-service'">1</span>
</div>
</div>
<div class="row-wrap"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org