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

Refactor the rendering of errors and warnings #2566

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Oct 6, 2022

  • Display warnings different than errors on all output formats
  • Document YAML specific errors
  • Display warning using yellow AND adding (warning) suffix
  • Corrected cases where warning was determined incorrectly
  • Display only the detailed rule tag on matches (reduce clutter)
  • Capitalize YAML error messages

Fixes: #1670

- Display warnings different than errors on all output formats
- Document YAML specific errors
- Display warning using yellow AND adding (warning) suffix
- Corrected cases where warning was determined incorrectly
- Display only the detailed rule tag on matches (reduce clutter)
- Capitalize YAML error messages

Fixes: ansible#1670
@ssbarnea ssbarnea marked this pull request as ready for review October 6, 2022 16:28
@ssbarnea ssbarnea requested a review from a team as a code owner October 6, 2022 16:28
@ssbarnea ssbarnea changed the title Display warnings different than errors on all output formats Refactor the rendering of errors and warnings Oct 6, 2022
@ssbarnea ssbarnea merged commit fba36ac into ansible:main Oct 6, 2022
@ssbarnea ssbarnea deleted the fix/warn-level branch October 6, 2022 16:57
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.

1 participant