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-6713. Avoid the need to cast to MiniOzoneHAClusterImpl #6295

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Make MiniOzoneHAClusterImpl.Builder.build() return MiniOzoneHAClusterImpl, so that tests do not need to cast the return value.

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

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/8083218045

@adoroszlai adoroszlai added test code-cleanup Changes that aim to make code better, without changing functionality. labels Feb 28, 2024
@adoroszlai adoroszlai self-assigned this Feb 28, 2024
Copy link
Member

@aswinshakil aswinshakil left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @adoroszlai. LGTM!

@Galsza
Copy link
Contributor

Galsza commented Feb 29, 2024

LGTM +1

@adoroszlai adoroszlai merged commit 804366a into apache:master Feb 29, 2024
26 checks passed
@adoroszlai
Copy link
Contributor Author

Thanks @aswinshakil, @Galsza for the review.

@adoroszlai adoroszlai deleted the HDDS-6713 branch February 29, 2024 10:14
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Mar 15, 2024
)

(cherry picked from commit 804366a)
Change-Id: Id63c2d6f54d551e0fc78ba52880a0ac91eee0f44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-cleanup Changes that aim to make code better, without changing functionality. test
Projects
None yet
3 participants