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

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

commit 5e9ff9bbc49640870a0c98665446d31ca89ebf4f
Author: Gary Yao <g...@apache.org>
AuthorDate: Tue Jul 9 10:51:04 2019 +0200

    [hotfix][tests] Declare variables in start_taskmanagers() local
---
 flink-end-to-end-tests/test-scripts/common.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/flink-end-to-end-tests/test-scripts/common.sh 
b/flink-end-to-end-tests/test-scripts/common.sh
index a4fff94..10061d1 100644
--- a/flink-end-to-end-tests/test-scripts/common.sh
+++ b/flink-end-to-end-tests/test-scripts/common.sh
@@ -260,7 +260,9 @@ function start_cluster {
 }
 
 function start_taskmanagers {
-    tmnum=$1
+    local tmnum=$1
+    local c
+
     echo "Start ${tmnum} more task managers"
     for (( c=0; c<tmnum; c++ ))
     do

Reply via email to