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

HDDS-8737. Organize Ozone admin related Methods into Class OzoneAdmin #4809

Merged
merged 3 commits into from
Jun 2, 2023

Conversation

xichen01
Copy link
Contributor

What changes were proposed in this pull request?

There have some duplicate Method, such as getOzoneAdminsFromConfig , getOzoneAdminsGroupsFromConfig and isAdmin etc, This PR will move them to the class OzoneAdmin

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-8737

Please replace this section with the link to the Apache JIRA)

How was this patch tested?

The Existing tests

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @xichen01 for the improvement. (There is also a checkstyle error.)

Also, please note: there will be conflicts with #4794. We can merge this first and I'll update my PR afterwards.

@xichen01
Copy link
Contributor Author

xichen01 commented Jun 1, 2023

@adoroszlai The checkstyle issue has been fixed. You also can merge the #4794 first if that is needed. I will resolve the conflict.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @xichen01 for updating the patch. LGTM, will merge after green CI.

@adoroszlai adoroszlai merged commit 0efef76 into apache:master Jun 2, 2023
27 checks 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
2 participants