Skip to content

Commit c48c616

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

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
@@ -1461,7 +1461,7 @@ private void addUnmappedLogHome() {
14611461
}
14621462

14631463
private boolean mapsLogHome(String mountPath) {
1464-
return getLogHome().startsWith(separatorTerminated(mountPath));
1464+
return separatorTerminated(getLogHome()).startsWith(separatorTerminated(mountPath));
14651465
}
14661466

14671467
private String separatorTerminated(String path) {

0 commit comments

Comments
 (0)