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

jarvis pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new b5e5d006e0 [Fix][chore] Fix --role parameter not working in 
seatunnel-cluster.cmd (#8877)
b5e5d006e0 is described below

commit b5e5d006e044b4af44effebdacd697d84fc17c3d
Author: xiaochen <[email protected]>
AuthorDate: Mon Mar 3 10:16:12 2025 +0800

    [Fix][chore] Fix --role parameter not working in seatunnel-cluster.cmd 
(#8877)
---
 seatunnel-core/seatunnel-starter/src/main/bin/seatunnel-cluster.cmd | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel-cluster.cmd 
b/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel-cluster.cmd
index 8abe993107..d8f1d88239 100644
--- a/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel-cluster.cmd
+++ b/seatunnel-core/seatunnel-starter/src/main/bin/seatunnel-cluster.cmd
@@ -41,6 +41,7 @@ for %%I in (%*) do (
     if "%%I"=="-h" set "HELP=true"
     if "%%I"=="--help" set "HELP=true"
     if "%%I"=="-r" set "NODE_ROLE=%%~nI"
+    if "%%I"=="--role" set "NODE_ROLE=%%~nI"
 )
 
 set "JAVA_OPTS=%JvmOption%"

Reply via email to