Skip to content

Commit 9ac3c6d

Browse files
authored
Remove overly aggresive check, you don't have to call it /conf (#3551)
This was meant to be part of #3512.
1 parent c3ed5a8 commit 9ac3c6d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

solr/core/src/java/org/apache/solr/core/ConfigSetService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ private void bootstrapDefaultConf() throws IOException {
117117
}
118118

119119
private void bootstrapConfDir(String confDir) throws IOException {
120-
if (!confDir.endsWith("conf")) {
121-
throw new IllegalArgumentException(
122-
"solr.configset.bootstrap.confdir must point to 'conf' directory, confDir: " + confDir);
123-
}
124-
125120
Path configPath = resolvePathWithSolrInstallDir(confDir);
126121

127122
if (!Files.isDirectory(configPath)) {

0 commit comments

Comments
 (0)