Skip to content

Commit 4d69adc

Browse files
committed
fix message
1 parent 1823668 commit 4d69adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/FileAccessTree.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,14 @@ public static FileAccessTree withoutExclusivePaths(
244244
public boolean canRead(Path path) {
245245
var normalizedPath = normalizePath(path);
246246
var canRead = checkPath(normalizedPath, readPaths);
247-
logger.trace(() -> Strings.format("checking [%s] (normalized to [%s]) for READ: %b", path, normalizedPath, canRead));
247+
logger.trace(() -> Strings.format("checking [%s] (normalized to [%s]) for read: %b", path, normalizedPath, canRead));
248248
return canRead;
249249
}
250250

251251
public boolean canWrite(Path path) {
252252
var normalizedPath = normalizePath(path);
253253
var canWrite = checkPath(normalizedPath, writePaths);
254-
logger.trace(() -> Strings.format("checking [%s] (normalized to [%s]) for READ_WRITE: %b", path, normalizedPath, canWrite));
254+
logger.trace(() -> Strings.format("checking [%s] (normalized to [%s]) for write: %b", path, normalizedPath, canWrite));
255255
return canWrite;
256256
}
257257

0 commit comments

Comments
 (0)