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: do not print collection messages for compliance apiv2 options #4319

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

xiangce
Copy link
Contributor

@xiangce xiangce commented Dec 20, 2024

  • RHINENG-14959
  • When any compliance apiv2 options is specified nothing will be collected, hence data collection relevant messages should not be printed to console. The rm_conf which includes the file/content redaction is also cleared for compliance apiv2 for this reason.

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • No Sensitive Data in this change?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

Add your description here

- RHINENG-14959
- When any compliance apiv2 options is specified nothing will be
  collected, hence data collection relevant messages should not be
  printed to console.
  The rm_conf which includes the file/content redaction is also
  cleared for compliance apiv2 for this reason.

Signed-off-by: Xiangce Liu <[email protected]>
@xiangce xiangce added the QE label Dec 20, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.18%. Comparing base (644d314) to head (ac6efad).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4319      +/-   ##
==========================================
- Coverage   77.18%   77.18%   -0.01%     
==========================================
  Files         765      765              
  Lines       41770    41773       +3     
  Branches     8821     8822       +1     
==========================================
+ Hits        32240    32241       +1     
- Misses       8463     8464       +1     
- Partials     1067     1068       +1     
Flag Coverage Δ
unittests 77.16% <100.00%> (-0.01%) ⬇️

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.

Signed-off-by: Xiangce Liu <[email protected]>
@xiangce xiangce requested a review from JoySnow December 20, 2024 08:27
@xiangce
Copy link
Contributor Author

xiangce commented Dec 25, 2024

QE test passed, merging to master

@xiangce xiangce merged commit 747e52d into RedHatInsights:master Dec 25, 2024
15 of 16 checks passed
@xiangce xiangce deleted the RHINENG-14959 branch December 25, 2024 08:40
xiangce added a commit that referenced this pull request Jan 2, 2025
…4319)

- RHINENG-14959
- When any compliance apiv2 options are specified, nothing will be
  collected, hence data collection relevant messages should not be
  printed to console.
  The rm_conf which includes the file/content redaction is also
  cleared for compliance apiv2 for this reason.

Signed-off-by: Xiangce Liu <[email protected]>
(cherry picked from commit 747e52d)
xiangce added a commit that referenced this pull request Jan 2, 2025
…4319)

- RHINENG-14959
- When any compliance apiv2 options are specified, nothing will be
  collected, hence data collection relevant messages should not be
  printed to console.
  The rm_conf which includes the file/content redaction is also
  cleared for compliance apiv2 for this reason.

Signed-off-by: Xiangce Liu <[email protected]>
(cherry picked from commit 747e52d)
(cherry picked from commit 06d2121)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants