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

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


The following commit(s) were added to refs/heads/master by this push:
     new e73124888e [INLONG-8675][Manager] Update InlongTenantApi get method 
request type with post  (#8697)
e73124888e is described below

commit e73124888e0013d6b2613536f5d207f5e8a47a5e
Author: castor <[email protected]>
AuthorDate: Thu Aug 10 19:01:12 2023 +0800

    [INLONG-8675][Manager] Update InlongTenantApi get method request type with 
post  (#8697)
    
    Co-authored-by: castorqin <[email protected]>
---
 .../org/apache/inlong/manager/client/api/service/InlongTenantApi.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/service/InlongTenantApi.java
 
b/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/service/InlongTenantApi.java
index 044ceb7ae8..f56a6301cb 100644
--- 
a/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/service/InlongTenantApi.java
+++ 
b/inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/service/InlongTenantApi.java
@@ -25,6 +25,7 @@ import 
org.apache.inlong.manager.pojo.tenant.InlongTenantRequest;
 
 import retrofit2.Call;
 import retrofit2.http.Body;
+import retrofit2.http.GET;
 import retrofit2.http.POST;
 import retrofit2.http.Path;
 
@@ -39,7 +40,7 @@ public interface InlongTenantApi {
     @POST("tenant/update")
     Call<Response<Boolean>> update(@Body InlongTenantRequest request);
 
-    @POST("tenant/get/{name}")
+    @GET("tenant/get/{name}")
     Call<Response<InlongTenantInfo>> get(@Path("name") String name);
 
 }

Reply via email to