Skip to content

Commit edac29c

Browse files
committed
Correct logic where one of the mountPath is exactly the same as logHomePath
1 parent c49a067 commit edac29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator/src/main/java/oracle/kubernetes/weblogic/domain/model/DomainResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ private void addUnmappedLogHome() {
14481448
}
14491449

14501450
private boolean mapsLogHome(String mountPath) {
1451-
return getLogHome().startsWith(separatorTerminated(mountPath));
1451+
return separatorTerminated(getLogHome()).startsWith(separatorTerminated(mountPath));
14521452
}
14531453

14541454
private String separatorTerminated(String path) {

0 commit comments

Comments
 (0)