Skip to content

Conversation

@emasab
Copy link
Contributor

@emasab emasab commented Jun 14, 2022

In create_acls and delete_acls it returns a dict with AclBinding or AclBindingFilters as keys.
If sent parameters are not unique the returned dict has less entries than the sent ones and it causes and Exception.

@emasab emasab requested a review from a team as a code owner June 14, 2022 09:41
@jliunyu
Copy link
Contributor

jliunyu commented Jun 14, 2022

I removed the previous dummy change from the RC branch, please make sure it won't be merged again.

@emasab emasab force-pushed the bugfix/documentation-and-duplicated-acls branch from 43cc5b5 to 076e282 Compare June 14, 2022 18:21
print(f"Invalid input: {e}")
return

if fs is None:
Copy link
Contributor

Choose a reason for hiding this comment

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

is this possible? I don't reckon, no need to check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@edenhill
Copy link
Contributor

There are also some test failures due to trivup not starting, see if the a new run (after fixing the other issues) solves it.

@emasab emasab changed the title Fix for duplicated acls Fix for duplicate acls Jun 15, 2022
@emasab emasab force-pushed the bugfix/documentation-and-duplicated-acls branch from f7dd6f7 to 5d35089 Compare June 15, 2022 17:47
Copy link
Contributor

@edenhill edenhill left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from v1.9.0rc to master June 16, 2022 20:59
@emasab emasab merged commit b304ed0 into master Jun 17, 2022
@emasab emasab deleted the bugfix/documentation-and-duplicated-acls branch June 17, 2022 10:43
jairhenrique pushed a commit to jairhenrique/confluent-kafka-python that referenced this pull request Jun 21, 2022
raised ValueError if duplicate ACL bindings
or ACL binding filters are passed.
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.

4 participants