You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/06/30 07:37:32 UTC

[incubator-datalab] 01/01: [DATALAB] -- fixed instance size selection for all clouds

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

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

commit ad13c5a2935e01dac2cf27a96f349147bf49425a
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Wed Jun 30 10:37:04 2021 +0300

    [DATALAB] -- fixed instance size selection for all clouds
---
 .../exploratory/create-environment/create-environment.component.ts    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts
index 08a7f70..fe75b06 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.ts
@@ -187,7 +187,9 @@ export class ExploratoryEnvironmentCreateComponent implements OnInit {
     const allowed: any = ['GPU optimized'];
 
     if (template.exploratory_environment_versions[0].template_name.toLowerCase().indexOf('tensorflow') === -1
-      && template.exploratory_environment_versions[0].template_name.toLowerCase().indexOf('deeplearning notebook') === -1
+      && template.exploratory_environment_versions[0].template_name.toLowerCase().indexOf('deeplearning') === -1
+      && template.exploratory_environment_versions[0].template_name.toLowerCase().indexOf('deep learning') === -1
+      && template.exploratory_environment_versions[0].template_name.toLowerCase().indexOf('data science') === -1
     ) {
       const filtered = Object.keys(
         SortUtils.shapesSort(template.exploratory_environment_shapes))

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