You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by jl...@apache.org on 2022/10/27 00:47:37 UTC
[pinot] 01/01: Reverts recommender REST API back to PUT (reverts PR #9326) (#9638)
This is an automated email from the ASF dual-hosted git repository.
jlli pushed a commit to branch recommender_hotfix_corp
in repository https://gitbox.apache.org/repos/asf/pinot.git
commit 571b611a32af61ffa984ba3289ec71bbda837747
Author: Benson Yuan <yu...@gmail.com>
AuthorDate: Fri Oct 21 13:19:19 2022 -0700
Reverts recommender REST API back to PUT (reverts PR #9326) (#9638)
---
.../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 e320e3e468..532a5e66cb 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
@@ -239,7 +239,7 @@ public class PinotTableRestletResource {
}
}
- @GET
+ @PUT
@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