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

improve(apiserver):move ldHandler for improving cohesion #1268

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

hikariwo
Copy link
Member

@hikariwo hikariwo commented Nov 23, 2023

What this PR does / why we need it:

move ldHandler from NodeController to LocalStorageNodeController for improving code cohesion. ldHandler located on NodeController is useless,because NodeController just deal with checking request parameter and responsing to the client. Instead, LocalStorageNodeController which served as a service layer is a better place for ldHandler

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Signed-off-by: lancerxiu <1377004871@qq.com>
@hikariwo
Copy link
Member Author

can you have a look? @peng9808 @Vacant2333

@peng9808
Copy link
Collaborator

lgtm

Copy link
Contributor

@Vacant2333 Vacant2333 left a comment

Choose a reason for hiding this comment

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

lgtm thanks a lot~

@SSmallMonster SSmallMonster added the kind/enhancement New feature or request label Nov 24, 2023
@SSmallMonster SSmallMonster merged commit d2bc890 into hwameistor:main Nov 24, 2023
3 checks passed
@hikariwo hikariwo deleted the move-ldHandler branch November 24, 2023 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants