Rename environment dir accessors (#121803)

The node environment has many paths. The accessors for these currently
use a "file" suffix, but they are always directories. This commit
renames the accessors to make it clear these paths are directories.
This commit is contained in:
Ryan Ernst 2025-02-05 14:03:28 -08:00 committed by GitHub
parent 1e12b547ca
commit 0cf42f2388
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
128 changed files with 520 additions and 528 deletions

View file

@ -158,7 +158,7 @@ public class URLRepository extends BlobStoreRepository {
if (normalizedUrl == null) {
String logMessage = "The specified url [{}] doesn't start with any repository paths specified by the "
+ "path.repo setting or by {} setting: [{}] ";
logger.warn(logMessage, urlToCheck, ALLOWED_URLS_SETTING.getKey(), environment.repoFiles());
logger.warn(logMessage, urlToCheck, ALLOWED_URLS_SETTING.getKey(), environment.repoDirs());
String exceptionMessage = "file url ["
+ urlToCheck
+ "] doesn't match any of the locations specified by path.repo or "