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

hshpak pushed a commit to branch feat/DATALAB-2646/create-HDInside-on-Azure
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to 
refs/heads/feat/DATALAB-2646/create-HDInside-on-Azure by this push:
     new 346efb18d minor fix
346efb18d is described below

commit 346efb18db304301d0fafa96da4f4295036360a1
Author: Hennadii_Shpak <[email protected]>
AuthorDate: Sat Aug 20 12:37:38 2022 +0300

    minor fix
---
 .../src/app/core/configs/{template-name.ts => image-template-name.ts} | 2 +-
 .../computational-resource-create-dialog.component.ts                 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/core/configs/template-name.ts
 
b/services/self-service/src/main/resources/webapp/src/app/core/configs/image-template-name.ts
similarity index 96%
rename from 
services/self-service/src/main/resources/webapp/src/app/core/configs/template-name.ts
rename to 
services/self-service/src/main/resources/webapp/src/app/core/configs/image-template-name.ts
index 8413cc29f..73b3cbac2 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/core/configs/template-name.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/core/configs/image-template-name.ts
@@ -17,6 +17,6 @@
  * under the License.
  */
 
-export enum TemplateName {
+export enum ImageTemplateName {
   hdInsight = 'HDInsight cluster'
 }
diff --git 
a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
 
b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
index 1bcfeb197..93a8aabd4 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts
@@ -29,7 +29,7 @@ import { CheckUtils, HelpUtils, HTTP_STATUS_CODES, PATTERNS, 
SortUtils } from '.
 import { DICTIONARY } from '../../../../dictionary/global.dictionary';
 import { CLUSTER_CONFIGURATION } from './cluster-configuration-templates';
 import { DockerImageName } from '../../../core/models';
-import { TemplateName } from '../../../core/configs/template-name';
+import { ImageTemplateName } from '../../../core/configs/image-template-name';
 import { ComputationalTemplate } from './computational.resource.model';
 import { Providers } from '../../../core/configs/providers';
 
@@ -159,7 +159,7 @@ export class ComputationalResourceCreateDialogComponent 
implements OnInit {
   }
 
   public isHasHDInside(templateList: ComputationalTemplate[]): boolean {
-    return  templateList.some(({template_name}) => template_name === 
TemplateName.hdInsight);
+    return  templateList.some(({template_name}) => template_name === 
ImageTemplateName.hdInsight);
   }
 
   private initFormModel(): void {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to