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

Validate brokers #1284

Merged
merged 1 commit into from
Feb 8, 2022
Merged

Validate brokers #1284

merged 1 commit into from
Feb 8, 2022

Conversation

Nevon
Copy link
Collaborator

@Nevon Nevon commented Feb 8, 2022

Unifies the validation between broker function return values and static lists, and will now throw an error if one of the brokers is not a non-zero length string. We could do better to validate that it's a real hostname or ip, but it seems like overkill to catch simple mistakes like having an undefined value in a config or something like that.

Fixes #1229

@Nevon Nevon merged commit a0540a9 into master Feb 8, 2022
@Nevon Nevon deleted the validate-broker-list branch February 8, 2022 08:44
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.

Better error message when broker list contains undefined
1 participant