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

Default to ResultFormat=raw if unset #822

Merged
merged 1 commit into from Aug 1, 2019
Merged

Default to ResultFormat=raw if unset #822

merged 1 commit into from Aug 1, 2019

Conversation

johnSchnake
Copy link
Contributor

What this PR does / why we need it:
When unset (or invalid), currently no post-processing is done which
means that users won't find the sonobuoy_results.yaml file.

By defaulting to 'raw' we make users immediately get a benefit from
the post-processing regardless of if they take extra steps to
customize the type/output.

Which issue(s) this PR fixes
Fixes #820

Special notes for your reviewer:

Release note:

Post-processing defaults to ResultFormat=raw if unset or invalid in order to ensure users gain the benefit of the post-processing and "sonobuoy results" command.

When unset (or invalid), currently no post-processing is done which
means that users won't find the sonobuoy_results.yaml file.

By defaulting to 'raw' we make users immediately get a benefit from
the post-processing regardless of if they take extra steps to
customize the type/output.

Fixes #820

Signed-off-by: John Schnake <jschnake@vmware.com>
@johnSchnake johnSchnake requested a review from zubron August 1, 2019 18:08
@codecov-io
Copy link

Codecov Report

Merging #822 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #822      +/-   ##
==========================================
+ Coverage   44.45%   44.49%   +0.03%     
==========================================
  Files          76       76              
  Lines        4618     4619       +1     
==========================================
+ Hits         2053     2055       +2     
+ Misses       2432     2431       -1     
  Partials      133      133
Impacted Files Coverage Δ
pkg/client/results/processing.go 80% <100%> (+1.73%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d91bc40...97485e8. Read the comment docs.

@johnSchnake johnSchnake merged commit e39cde3 into vmware-tanzu:master Aug 1, 2019
@johnSchnake johnSchnake deleted the defaultToRawPlugins branch August 1, 2019 21:35
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.

Aggregate results information should default to the raw type
3 participants