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

fix(consumer): guard against nil client #2636

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Aug 31, 2023

Quite minor, but passing a nil client into NewConsumerGroupFromClient would cause a panic. Add a simple guard to prevent that.

Quite minor, but passing a nil client into NewConsumerGroupFromClient
would cause a panic. Add a simple guard to prevent that.

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe dnwe added the fix label Aug 31, 2023
@dnwe dnwe merged commit 9b0419d into main Sep 1, 2023
12 checks passed
@dnwe dnwe deleted the dnwe/consumer-nil-client branch September 1, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant