Skip to content

Commit 744fb39

Browse files
committed
fixing bug where WIT wdt home ends in weblogic-deploy
1 parent 407d577 commit 744fb39

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

electron/app/locales/en/webui.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
"image-design-wdt-domain-home-label": "Domain Home Directory",
407407
"image-design-wdt-domain-home-help": "The full path to the domain home directory inside the image.",
408408
"image-design-wdt-home-label": "WDT Home Directory",
409-
"image-design-wdt-home-help": "The full path to the WebLogic Deploy Tooling home directory inside the image.",
409+
"image-design-wdt-home-help": "The full path to the directory inside the image where the WebLogic Deploy Tooling installer should be unzipped. For example, a WDT Home Directory set to /u01/wdt will cause the WebLogic Image Tool to create the /u01/wdt/weblogic-deploy directory when installing WDT.",
410410
"image-design-wdt-model-home-label": "Model Home Directory",
411411
"image-design-wdt-model-home-help": "The full path to the model home directory inside the image.",
412412

webui/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webui/src/js/utils/k8s-domain-v9-resource-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ define(['models/wkt-project', 'utils/k8s-domain-configmap-generator', 'js-yaml',
242242
// WKO 4.0+ has different behavior and parameters than 3.x
243243
//
244244
let wdtInstallHome = this.project.image.wdtHomePath.value;
245-
if (!wdtInstallHome.endsWith(WDT_DIR_NAME)) {
245+
if (wdtInstallHome) {
246246
wdtInstallHome = window.api.path.joinAndConvertToUnixPath(wdtInstallHome, WDT_DIR_NAME);
247247
}
248248
if (usingAuxImage()) {

0 commit comments

Comments
 (0)