Skip to content

Commit

Permalink
Merge pull request #30 from ivanov-aleksander/patch-2
Browse files Browse the repository at this point in the history
Pattern Matching mistake
  • Loading branch information
michalwski authored Jan 21, 2020
2 parents 77f825a + 9e58a2b commit 6c616f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion member/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if [ x"${CLUSTER_WITH}" = x"" ]; then
# For long hostname - HOST_TAIL will contain all of it but the leading segment
HOST_TAIL=$(echo $NODE_HOST | sed -e 's/^[^.]*//')

CLUSTER_WITH="${NODE_NAME}@${HOSTNAME_SHORT%-?}-${MASTER_ORDINAL}${HOST_TAIL}"
CLUSTER_WITH="${NODE_NAME}@${HOSTNAME_SHORT%-*}-${MASTER_ORDINAL}${HOST_TAIL}"
DEFAULT_CLUSTERING=1
fi

Expand Down

0 comments on commit 6c616f9

Please sign in to comment.