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

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


The following commit(s) were added to refs/heads/master by this push:
     new 33e798e  making uniform position of variable declaration statements
33e798e is described below

commit 33e798ee1986749b5e51f4d4c90a2c6bca180fb4
Author: DoiMasayuki <m-...@ist.osaka-u.ac.jp>
AuthorDate: Wed Jan 15 11:41:58 2020 +0900

    making uniform position of variable declaration statements
---
 .../apache/kylin/stream/coordinator/client/HttpCoordinatorClient.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/stream-coordinator/src/main/java/org/apache/kylin/stream/coordinator/client/HttpCoordinatorClient.java
 
b/stream-coordinator/src/main/java/org/apache/kylin/stream/coordinator/client/HttpCoordinatorClient.java
index 3d02e2b..b93cb01 100644
--- 
a/stream-coordinator/src/main/java/org/apache/kylin/stream/coordinator/client/HttpCoordinatorClient.java
+++ 
b/stream-coordinator/src/main/java/org/apache/kylin/stream/coordinator/client/HttpCoordinatorClient.java
@@ -212,10 +212,10 @@ public class HttpCoordinatorClient implements 
CoordinatorClient {
     }
 
     private Object postRequest(final String path, final String requestContent) 
throws IOException {
+        final String url = getBaseUrl() + path;
         CoordinatorResponse response = retryCaller.call(new 
CoordinatorRetryCallable() {
             @Override
             public CoordinatorResponse call() throws Exception {
-                String url = getBaseUrl() + path;
                 String msg = restService.postRequest(url, requestContent);
                 return JsonUtil.readValue(msg, CoordinatorResponse.class);
             }

Reply via email to