You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2019/12/19 05:39:13 UTC

[lucene-solr] branch branch_8x updated: SOLR-14108: Fix cherry-pick problem with last commit

This is an automated email from the ASF dual-hosted git repository.

ishan pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 35cb6a0  SOLR-14108: Fix cherry-pick problem with last commit
35cb6a0 is described below

commit 35cb6a020304e9c53543c6d25897a769d7dba109
Author: Ishan Chattopadhyaya <is...@apache.org>
AuthorDate: Thu Dec 19 11:08:56 2019 +0530

    SOLR-14108: Fix cherry-pick problem with last commit
---
 solr/core/src/java/org/apache/solr/packagemanager/PackageManager.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/solr/core/src/java/org/apache/solr/packagemanager/PackageManager.java b/solr/core/src/java/org/apache/solr/packagemanager/PackageManager.java
index 50b43b6..0e28537 100644
--- a/solr/core/src/java/org/apache/solr/packagemanager/PackageManager.java
+++ b/solr/core/src/java/org/apache/solr/packagemanager/PackageManager.java
@@ -309,6 +309,8 @@ public class PackageManager implements Closeable {
               PackageUtils.printRed("Failed to deploy plugin: " + plugin.name);
               success = false;
             }
+          } else {
+            throw new SolrException(ErrorCode.BAD_REQUEST, "Non-GET method not supported for verify commands");
           }
         }
       }