Skip to content

Commit e79b542

Browse files
committed
fixed method logic1
1 parent 8363653 commit e79b542

File tree

1 file changed

+5
-2
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator/utils

1 file changed

+5
-2
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/utils/TestUtils.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,10 +1241,13 @@ public static void buildDeployWebServiceAppInPod(
12411241

12421242
// Create app dir in the admin pod
12431243
StringBuffer mkdirCmd = new StringBuffer(" -- bash -c 'mkdir -p ");
1244-
mkdirCmd.append(appLocationInPod);
1244+
mkdirCmd.append(appLocationInPod + "'");
1245+
// Create app dir in the admin pod
1246+
12451247
kubectlexec(adminServerPod, domainNS, mkdirCmd.toString());
12461248
// Create WEB-INF in the app dir
1247-
mkdirCmd.append("/WEB-INF'");
1249+
mkdirCmd = new StringBuffer(" -- bash -c 'mkdir -p ");
1250+
mkdirCmd.append(appLocationInPod + "/WEB-INF'");
12481251
kubectlexec(adminServerPod, domainNS, mkdirCmd.toString());
12491252

12501253
// Copy shell script to the admin pod

0 commit comments

Comments
 (0)