Skip to content

[omdb] Add missing newline to omdb db ereport show - #8805

Merged
hawkw merged 1 commit into
mainfrom
eliza/ereport-show-newline
Aug 10, 2025
Merged

hawkw merged 1 commit into
mainfrom
eliza/ereport-show-newline

Conversation

@hawkw

@hawkw hawkw commented Aug 8, 2025

Copy link
Copy Markdown
Member

As seen in today's demo hour, the use of serde_json::to_writer_pretty doesn't include a trailing newline, so the closing } of the ereport JSON is followed immediately by the shell prompt. This both looks bad and makes copying/pasting the JSON annoyinger. This commit adds the newline. Whoopsie.

As seen in today's demo hour, the use of `serde_json::to_writer_pretty`
doesn't include a trailing newline, so the closing `}` of the ereport
JSON is followed immediately by the shell prompt. This both looks bad
and makes copying/pasting the JSON annoyinger. This commit adds the
newline. Whoopsie.
@hawkw
hawkw enabled auto-merge (squash) August 8, 2025 22:10
@hawkw
hawkw requested review from iximeow and sunshowers August 8, 2025 22:10
@hawkw

hawkw commented Aug 8, 2025

Copy link
Copy Markdown
Member Author

@hawkw
hawkw merged commit 60a5cf0 into main Aug 10, 2025
@hawkw
hawkw deleted the eliza/ereport-show-newline branch August 10, 2025 01:38
@hawkw hawkw added the fault-management Everything related to the fault-management initiative (RFD480 and others) label Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fault-management Everything related to the fault-management initiative (RFD480 and others)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants