Skip to content

fix(frontend): prevent copying double newlines in machine logs#3083

Merged
talos-bot merged 1 commit into
siderolabs:mainfrom
Slessi:fix-machine-logs-double-newline
Jul 2, 2026
Merged

fix(frontend): prevent copying double newlines in machine logs#3083
talos-bot merged 1 commit into
siderolabs:mainfrom
Slessi:fix-machine-logs-double-newline

Conversation

@Slessi

@Slessi Slessi commented Jul 2, 2026

Copy link
Copy Markdown
Member

Trim newlines off the end of machine logs. They are not required for display, and copy functionality adds its own newlines. Service logs do not contain newlines which is why copy must continue to add them.

Trim newlines off the end of machine logs. They are not required for display, and copy functionality adds its own newlines. Service logs do not contain newlines which is why copy must continue to add them.

Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
@github-project-automation github-project-automation Bot moved this from In Review to Approved in Planning Jul 2, 2026
@Slessi

Slessi commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

/m

@talos-bot talos-bot merged commit 104a8b2 into siderolabs:main Jul 2, 2026
35 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Done in Planning Jul 2, 2026
@Slessi Slessi deleted the fix-machine-logs-double-newline branch July 2, 2026 13:09
@Slessi Slessi mentioned this pull request Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants