Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern Matching mistake #30

Merged
merged 1 commit into from
Jan 21, 2020
Merged

Pattern Matching mistake #30

merged 1 commit into from
Jan 21, 2020

Conversation

ivanov-aleksander
Copy link
Contributor

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.

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.
@michalwski
Copy link
Contributor

Good catch @ivanov-aleksander. Good to know there are people setting up that big MongooseIM clusters :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants