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

PMM-13120 Reflect correct mode in RemoveNode. #2996

Merged
merged 6 commits into from
Jun 18, 2024

Conversation

JiriCtvrtka
Copy link
Contributor

@JiriCtvrtka JiriCtvrtka commented May 17, 2024

Copy link

codecov bot commented May 17, 2024

Codecov Report

Attention: Patch coverage is 70.00000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 44.38%. Comparing base (8a59705) to head (98c60d0).

Files Patch % Lines
managed/services/management/node.go 73.68% 6 Missing and 4 partials ⚠️
managed/cmd/pmm-managed/main.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #2996      +/-   ##
==========================================
- Coverage   44.42%   44.38%   -0.04%     
==========================================
  Files         368      368              
  Lines       35556    35277     -279     
==========================================
- Hits        15794    15659     -135     
+ Misses      18139    18004     -135     
+ Partials     1623     1614       -9     
Flag Coverage Δ
managed 46.50% <70.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JiriCtvrtka
Copy link
Contributor Author

JiriCtvrtka commented May 20, 2024

To have correct behaviour Unregister endpoint now reflect remove mode instead static models.RemoveCascade.

@JiriCtvrtka JiriCtvrtka marked this pull request as ready for review May 20, 2024 06:57
@JiriCtvrtka JiriCtvrtka requested a review from a team as a code owner May 20, 2024 06:57
@JiriCtvrtka JiriCtvrtka requested review from BupycHuk, idoqo and ademidoff and removed request for a team May 20, 2024 06:57
managed/services/management/node.go Outdated Show resolved Hide resolved
managed/services/management/node_test.go Outdated Show resolved Hide resolved
@JiriCtvrtka JiriCtvrtka merged commit 66f7907 into v3 Jun 18, 2024
12 checks passed
@JiriCtvrtka JiriCtvrtka deleted the PMM-13120-unregister-node branch June 18, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants