Skip to content

Fix remove '\n' before monkey on input-tcp mode#1273

Open
lucaspouzac wants to merge 1 commit into
probelabs:masterfrom
lucaspouzac:fix-input-tcp-monkeys
Open

Fix remove '\n' before monkey on input-tcp mode#1273
lucaspouzac wants to merge 1 commit into
probelabs:masterfrom
lucaspouzac:fix-input-tcp-monkeys

Conversation

@lucaspouzac

Copy link
Copy Markdown

If I get error on buffer.UnreadByte(), I have bytes.Buffer: UnreadByte: previous operation was not a successful read

The last '\n' before monkeys is not removed. If we chain multiple aggregators with input-tcp mode, one '\n' is add before separator on each aggregator.

@CLAassistant

CLAassistant commented Jul 3, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2025

Copy link
Copy Markdown

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working go Pull requests that update Go code labels Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working go Pull requests that update Go code size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants