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

[INLONG-10152][Sort] Refactor MetricOption code structure. #10156

Merged
merged 6 commits into from
May 9, 2024

Conversation

XiaoYou201
Copy link
Contributor

Prepare a Pull Request

Motivation

The MetricOption constructor Does not conform to the single responsibility design pattern,check arguments not exist in constructor will make code clearly.

Modifications

Adjust constructor and move check arguments code statement.

@XiaoYou201 XiaoYou201 changed the title [INLONG-10152][Manager] Refactor MetricOption code structure. [INLONG-10152][Sort] Refactor MetricOption code structure. May 8, 2024
@dockerzhang dockerzhang requested a review from EMsnap May 8, 2024 13:31
aloyszhang
aloyszhang previously approved these changes May 9, 2024
Copy link
Contributor

@aloyszhang aloyszhang left a comment

Choose a reason for hiding this comment

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

LGTM

@dockerzhang dockerzhang merged commit 011e96b into apache:master May 9, 2024
10 checks passed
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.

[Improve][Sort] Refactor MetricOption code structure.
5 participants