提交 3e860b40 编写于 作者: R Robert Metzger

[hotfix][scripts] Fix zookeeper quorum regex

上级 83b99f8a
......@@ -35,7 +35,7 @@ while read server ; do
server=$(echo -e "${server}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') # trim
# match server.id=address[:port[:port]]
if [[ $server =~ ^server\.([0-9])+[[:space:]]*\=([^: \#]+) ]]; then
if [[ $server =~ ^server\.([0-9]+)[[:space:]]*\=([^: \#]+) ]]; then
id=${BASH_REMATCH[1]}
address=${BASH_REMATCH[2]}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册