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 the subscription to bucket notifications for more than one event type #449

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

Maxim-Kornilov
Copy link
Contributor

Issue:
MinIO dotnet client throws System.ArgumentException with a message "An item with the same key has already been added. Key: events" if you pass more than one event type to the ListenBucketNotificationsAsync method.

Proposed solution:
Use a list of key-value pairs instead of a dictionary to store multiple values with the same key.

Copy link
Contributor

@poornas poornas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harshavardhana harshavardhana merged commit 0e1cd4a into minio:master Aug 14, 2020
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.

3 participants