mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 12:56:53 +00:00
Fix a documentation typo and a code comment typo to path.repo
This commit is contained in:
parent
f3c7bf0936
commit
a0243200e0
@ -156,7 +156,7 @@ public class URLRepository extends BlobStoreRepository {
|
||||
logger.warn("cannot parse the specified url [{}]", url);
|
||||
throw new RepositoryException(repositoryName, "cannot parse the specified url [" + url + "]");
|
||||
}
|
||||
// We didn't match white list - try to resolve against repo.path
|
||||
// We didn't match white list - try to resolve against path.repo
|
||||
URL normalizedUrl = environment.resolveRepoURL(url);
|
||||
if (normalizedUrl == null) {
|
||||
logger.warn("The specified url [{}] doesn't start with any repository paths specified by the path.repo setting: [{}] or by repositories.url.allowed_urls setting: [{}] ", url, environment.repoFiles());
|
||||
|
@ -141,7 +141,7 @@ This setting supports wildcards in the place of host, path, query, and fragment.
|
||||
repositories.url.allowed_urls: ["http://www.example.org/root/*", "https://*.mydomain.com/*?*#*"]
|
||||
-----------------------------------
|
||||
|
||||
URL repositories with `file:` URLs can only point to locations registered in the `repo.path` setting similiar to
|
||||
URL repositories with `file:` URLs can only point to locations registered in the `path.repo` setting similiar to
|
||||
shared file system repository.
|
||||
|
||||
[float]
|
||||
|
Loading…
x
Reference in New Issue
Block a user