You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/04/21 00:55:25 UTC
[GitHub] [dolphinscheduler] paul8263 commented on a diff in pull request #9614: [Fix][Script] Fix wrong type of variable workersGroupMap, which will …
paul8263 commented on code in PR #9614:
URL: https://github.com/apache/dolphinscheduler/pull/9614#discussion_r854684029
##########
script/scp-hosts.sh:
##########
@@ -28,6 +28,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
fi
workersGroup=(${workers//,/ })
+declare -A workersGroupMap
Review Comment:
Hi @SbloodyS ,
Bash version on Mac is 3.x while on Linux its verion is usually 4.x +. Bash 3.x does not support `declare -A`.
If we have to support Bash 3.x, we need to avoid declaring a variable as map.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org