Skip to content

Commit a9e660f

Browse files
authored
fix for domainhome (#4144)
1 parent b1c41ef commit a9e660f

File tree

1 file changed

+3
-1
lines changed
  • integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl

1 file changed

+3
-1
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/Domain.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,9 @@ public static boolean scaleClusterWithWLDF(String clusterName,
625625
}
626626

627627
logger.info("Creating WLDF policy rule and action");
628-
String command = new StringBuffer("/u01/callpyscript.sh /u01/wldf.py ")
628+
String command = new StringBuffer("echo ${DOMAIN_HOME}")
629+
.append(" && export DOMAIN_HOME=" + domainHomeLocation)
630+
.append(" && /u01/callpyscript.sh /u01/wldf.py ")
629631
.append(ADMIN_USERNAME_DEFAULT)
630632
.append(" ")
631633
.append(ADMIN_PASSWORD_DEFAULT)

0 commit comments

Comments
 (0)