Skip to content

Commit 1cd6ac6

Browse files
committed
remove unnecessary ternary
1 parent 6fec56e commit 1cd6ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private boolean handleDistributed(SolrQueryRequest req, SolrQueryResponse rsp) {
322322

323323
for (String shard : shards) {
324324
ModifiableSolrParams params = new ModifiableSolrParams(req.getParams());
325-
params.set(CommonParams.QT, reqPath != null ? reqPath : "/admin/luke");
325+
params.set(CommonParams.QT, reqPath);
326326
ShardHandler.setShardAttributesToParams(params, sreq.purpose);
327327
shardHandler.submit(sreq, shard, params);
328328
}

0 commit comments

Comments
 (0)