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

refactor: pass http method to metasrv http handler #3667

Merged

Conversation

tisonkun
Copy link
Contributor

@tisonkun tisonkun commented Apr 8, 2024

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

Spotted on GreptimeTeam/docs#878.

This follows up #3527

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun changed the title Refactor http method metasrv http refactor: pass http method to metasrc http handler Apr 8, 2024
@github-actions github-actions bot added Invalid PR Title docs-not-required This change does not impact docs. labels Apr 8, 2024
@tisonkun tisonkun changed the title refactor: pass http method to metasrc http handler refactor: pass http method to metasrv http handler Apr 8, 2024
@tisonkun tisonkun requested a review from nicecui April 8, 2024 10:54
Signed-off-by: tison <wander4096@gmail.com>
@tisonkun tisonkun force-pushed the refactor-http-method-metasrv-http branch from 5c6de1a to d2eed19 Compare April 8, 2024 10:56
Copy link

codecov bot commented Apr 8, 2024

Codecov Report

Attention: Patch coverage is 44.61538% with 36 lines in your changes are missing coverage. Please review.

Project coverage is 84.84%. Comparing base (2ede968) to head (a0a2ffe).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3667      +/-   ##
==========================================
- Coverage   85.16%   84.84%   -0.32%     
==========================================
  Files         943      949       +6     
  Lines      157235   158718    +1483     
==========================================
+ Hits       133911   134672     +761     
- Misses      23324    24046     +722     

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM. @fengjiachun PTAL

src/meta-srv/src/service/admin.rs Outdated Show resolved Hide resolved
Co-authored-by: dennis zhuang <killme2008@gmail.com>
@killme2008 killme2008 added this pull request to the merge queue Apr 9, 2024
Merged via the queue into GreptimeTeam:main with commit 2896e1f Apr 9, 2024
20 checks passed
@tisonkun tisonkun deleted the refactor-http-method-metasrv-http branch April 9, 2024 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants