You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/01/26 04:04:21 UTC

[incubator-inlong] branch master updated: [INLONG-2341][inlong-dataproxy-sdk]'.inlong' as default path of local file is ambiguous (#2342)

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/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e9409e  [INLONG-2341][inlong-dataproxy-sdk]'.inlong' as default path of local file is ambiguous (#2342)
6e9409e is described below

commit 6e9409ec9bd6c852b0a59c3ada4e2a35036751bb
Author: baomingyu <ba...@163.com>
AuthorDate: Wed Jan 26 12:04:16 2022 +0800

    [INLONG-2341][inlong-dataproxy-sdk]'.inlong' as default path of local file is ambiguous (#2342)
---
 .../main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java b/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java
index 5433df7..7a5ad11 100644
--- a/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java
+++ b/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java
@@ -45,7 +45,7 @@ public class ProxyClientConfig {
     private String userName = "";
     private String secretKey = "";
     private String rsaPubKeyUrl = "";
-    private String confStoreBasePath = ".inlong/";
+    private String confStoreBasePath = System.getProperty("user.dir") + "/.inlong/";
     private boolean needVerServer = false;
     private String tlsServerCertFilePathAndName;
     private String tlsServerKey;