Closed ivanov-aleksander closed 4 years ago
The current pattern doesn't work for cluster more than 10 nodes. For example:
HOSTNAME_SHORT=mongooseim-12 echo ${HOSTNAME_SHORT%-?}
Returns mongooseim-12 instead of mongooseim My PR fix this issue.
Good catch @ivanov-aleksander. Good to know there are people setting up that big MongooseIM clusters :)
The current pattern doesn't work for cluster more than 10 nodes. For example:
Returns mongooseim-12 instead of mongooseim My PR fix this issue.