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

Remove unnecessary markdown rendering #7265

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Jul 16, 2024

Description

This PR removes unnecessary markdown rendering when handling SavedObjectNotFound errors. The error rendering occurs here and unnecessarily renders the text as markdown when the message will always be plain text based on the error type.

Testing the changes

  • All CI checks pass

Changelog

  • chore: Remove unnecessary markdown rendering

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: Craig Perkins <[email protected]>
Copy link
Contributor

❌ Invalid Prefix For Manual Changeset Creation

Invalid description prefix. Found "chore". Only "skip" entry option is permitted for manual commit of changeset files.

If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description.

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.52%. Comparing base (27669cf) to head (a2dde47).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7265      +/-   ##
==========================================
- Coverage   67.52%   67.52%   -0.01%     
==========================================
  Files        3477     3477              
  Lines       68757    68756       -1     
  Branches    11204    11204              
==========================================
- Hits        46431    46430       -1     
  Misses      19620    19620              
  Partials     2706     2706              
Flag Coverage Δ
Linux_1 33.24% <ø> (-0.01%) ⬇️
Linux_2 55.30% <ø> (ø)
Linux_3 45.26% <ø> (-0.02%) ⬇️
Linux_4 34.68% <ø> (-0.01%) ⬇️
Windows_1 33.26% <ø> (-0.01%) ⬇️
Windows_2 55.25% <ø> (ø)
Windows_3 45.27% <ø> (-0.01%) ⬇️
Windows_4 34.68% <ø> (-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.

@AMoo-Miki AMoo-Miki merged commit a34389e into opensearch-project:main Jul 17, 2024
66 of 67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 17, 2024
Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit a34389e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 23, 2024
Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit a34389e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
zhongnansu pushed a commit that referenced this pull request Jul 23, 2024
(cherry picked from commit a34389e)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ananzh pushed a commit to ananzh/OpenSearch-Dashboards that referenced this pull request Jul 24, 2024
…ject#7290)

(cherry picked from commit a34389e)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants