mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
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:
parent
1e12b547ca
commit
0cf42f2388
128 changed files with 520 additions and 528 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue