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-12643 consistent types in list output of pmm-admin #2616

Merged
merged 14 commits into from
Dec 20, 2023

Conversation

ademidoff
Copy link
Member

@ademidoff ademidoff commented Nov 10, 2023

PMM-12643

Link to the Feature Build: SUBMODULES-3445

@ademidoff ademidoff marked this pull request as ready for review November 10, 2023 17:48
@ademidoff ademidoff requested a review from a team as a code owner November 10, 2023 17:48
@ademidoff ademidoff requested review from BupycHuk and JiriCtvrtka and removed request for a team November 10, 2023 17:48
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (75fd4a0) 42.09% compared to head (2f742ae) 42.21%.

Files Patch % Lines
admin/commands/list.go 36.84% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2616      +/-   ##
==========================================
+ Coverage   42.09%   42.21%   +0.12%     
==========================================
  Files         395      395              
  Lines       49969    49974       +5     
==========================================
+ Hits        21035    21099      +64     
+ Misses      26965    26886      -79     
- Partials     1969     1989      +20     
Flag Coverage Δ
admin 11.54% <36.84%> (+1.11%) ⬆️
agent 53.23% <ø> (+0.13%) ⬆️
managed 42.77% <ø> (ø)
vmproxy 68.57% <ø> (ø)

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.

admin/commands/list.go Outdated Show resolved Hide resolved
@ademidoff ademidoff requested a review from BupycHuk November 13, 2023 08:47
Copy link
Member

@BupycHuk BupycHuk left a comment

Choose a reason for hiding this comment

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

Can we add a test here?

@ademidoff
Copy link
Member Author

Can we add a test here?

Did you mean if we can add a test for RunCmd?

Copy link
Member

@BupycHuk BupycHuk left a comment

Choose a reason for hiding this comment

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

wow, with these improvements code looks much more clear

@ademidoff ademidoff merged commit 1edf9b3 into main Dec 20, 2023
30 of 32 checks passed
@ademidoff ademidoff deleted the PMM-12643-type-consistency-in-admin-json-list-result branch December 20, 2023 07:44
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.

4 participants