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

Fix compare subcommand #1192

Merged
merged 1 commit into from
Feb 19, 2021
Merged

Fix compare subcommand #1192

merged 1 commit into from
Feb 19, 2021

Conversation

dliappis
Copy link
Contributor

The refactoring in #1175 broken the compare subcommand due to reliance
on the show-in-report cli argument. As prior to the PR the subcommand
parsing logic was obscure the problem surfaced now.

This commit defaults the parameter show-in-report for the compare
subcommand to True. This parameter could be removed in the future,
the reason for adding it in the past was that some users relied on
parsing the report file and the comparison adds fields
(like percentiles) dynamically.

@dliappis dliappis added bug Something's wrong :Reporting Command line reporting labels Feb 19, 2021
@dliappis dliappis added this to the 2.1.0 milestone Feb 19, 2021
@dliappis dliappis self-assigned this Feb 19, 2021
@dliappis dliappis force-pushed the fix-compare branch 2 times, most recently from ea296af to a9be082 Compare February 19, 2021 11:28
Copy link
Member

@danielmitterdorfer danielmitterdorfer left a comment

Choose a reason for hiding this comment

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

LGTM

The refactoring in elastic#1175 broken the compare subcommand due to reliance
on the `show-in-report` cli argument. As prior to the PR the subcommand
parsing logic was obscure the problem surfaced now.

This commit defaults the parameter `show-in-report` for the compare
subcommand to True. This parameter could be removed in the future,
the reason for adding it in the past was that some users relied on
parsing the report file and the comparison adds fields
(like percentiles) dynamically.
@dliappis dliappis merged commit 5461f0c into elastic:master Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Reporting Command line reporting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants