Skip to content

Conversation

@mattisonchao
Copy link
Member

Motivation

When we get the right authorized state, we need to return immediately, do not need to do an unnecessary loop.

Changes

  • Add break, when get the right authorized state.

@mattisonchao
Copy link
Member Author

@merlimat @eolivelli @dlg99 @nicoloboschi PTAL :)

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

but this is not a big deal, as "allowedRoles" is usually a very small list, like 1 entry

@mattisonchao
Copy link
Member Author

Could I use some commands to rerun failed test?
I think it's a flaky test, my change can not affect this.

@mattisonchao
Copy link
Member Author

rerun failure checks

@merlimat merlimat added this to the 4.15.0 milestone Feb 9, 2022
@merlimat merlimat merged commit 5405ee9 into apache:master Feb 9, 2022
StevenLuMT pushed a commit to StevenLuMT/bookkeeper that referenced this pull request Feb 16, 2022
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants