You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by si...@apache.org on 2022/09/07 08:57:16 UTC

[pinot] branch master updated: Fix annotation for /recommender endpoint (#9326)

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

siddteotia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 12e5b34b2d Fix annotation for /recommender endpoint (#9326)
12e5b34b2d is described below

commit 12e5b34b2d5ffb2a79af1d79ee45d1544f749a5c
Author: Sajjad Moradi <mo...@gmail.com>
AuthorDate: Wed Sep 7 01:57:10 2022 -0700

    Fix annotation for /recommender endpoint (#9326)
---
 .../pinot/controller/api/resources/PinotTableRestletResource.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java
index 2283d5bfa3..171799fb66 100644
--- a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java
+++ b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java
@@ -232,7 +232,7 @@ public class PinotTableRestletResource {
     }
   }
 
-  @PUT
+  @GET
   @Produces(MediaType.APPLICATION_JSON)
   @Path("/tables/recommender")
   @ApiOperation(value = "Recommend config", notes = "Recommend a config with input json")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org