You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2023/03/30 06:43:04 UTC

[shardingsphere] branch master updated: Specifying the agent argument in Docker env (#24897)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c65883125c6 Specifying the agent argument in Docker env (#24897)
c65883125c6 is described below

commit c65883125c649e625324235100d0352973b70072
Author: Liu Xiao <42...@users.noreply.github.com>
AuthorDate: Thu Mar 30 14:42:50 2023 +0800

    Specifying the agent argument in Docker env (#24897)
---
 distribution/proxy/src/main/resources/bin/start.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/distribution/proxy/src/main/resources/bin/start.sh b/distribution/proxy/src/main/resources/bin/start.sh
index 35390eff023..88f2c86c643 100644
--- a/distribution/proxy/src/main/resources/bin/start.sh
+++ b/distribution/proxy/src/main/resources/bin/start.sh
@@ -234,7 +234,7 @@ echo "The classpath is ${CLASS_PATH}"
 echo "main class ${MAIN_CLASS}"
 
 if [ -n "${IS_DOCKER}" ]; then
-  exec $JAVA ${JAVA_OPTS} ${JAVA_MEM_OPTS} -classpath ${CLASS_PATH} ${MAIN_CLASS}
+  exec $JAVA ${JAVA_OPTS} ${JAVA_MEM_OPTS} -classpath ${CLASS_PATH} ${AGENT_PARAM} ${MAIN_CLASS}
   exit 0
 fi