You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ge...@apache.org on 2023/06/06 19:05:14 UTC
[solr] branch branch_9x updated: SOLR-16392: Correct v2 deleteshard path
This is an automated email from the ASF dual-hosted git repository.
gerlowskija pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 669c411b00e SOLR-16392: Correct v2 deleteshard path
669c411b00e is described below
commit 669c411b00e1212a2fb498d5a5e02871497882d5
Author: Jason Gerlowski <ge...@apache.org>
AuthorDate: Tue Jun 6 10:39:43 2023 -0400
SOLR-16392: Correct v2 deleteshard path
I made a copy/paste mistake when converting DELETESHARD to the JAX-RS
framework and didn't catch it. This commit corrects that.
---
.../core/src/java/org/apache/solr/handler/admin/api/DeleteShardAPI.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/handler/admin/api/DeleteShardAPI.java b/solr/core/src/java/org/apache/solr/handler/admin/api/DeleteShardAPI.java
index 3c2b6664308..afa4abe92cd 100644
--- a/solr/core/src/java/org/apache/solr/handler/admin/api/DeleteShardAPI.java
+++ b/solr/core/src/java/org/apache/solr/handler/admin/api/DeleteShardAPI.java
@@ -49,7 +49,7 @@ import org.apache.solr.response.SolrQueryResponse;
* <p>This API (DELETE /v2/collections/collectionName/shards/shardName) is analogous to the v1
* /admin/collections?action=DELETESHARD command.
*/
-@Path("/collections/{collectionName}/shards/{shardName}/replicas")
+@Path("/collections/{collectionName}/shards/{shardName}")
public class DeleteShardAPI extends AdminAPIBase {
@Inject