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

Omit MultiLineBuilder variable if empty #103

Merged
merged 4 commits into from
Sep 28, 2023
Merged

Omit MultiLineBuilder variable if empty #103

merged 4 commits into from
Sep 28, 2023

Conversation

zhihonl
Copy link

@zhihonl zhihonl commented Sep 28, 2023

Description:
Upstream added a new variable MultiLineBuilder which was originally part of the Multiline variable that will be omitted if empty. Since MultiLineBuilder is a func type, yaml encoder cannot marshal it thus causing issues when creating the yaml file.

Testing:
Relying on unit test. Also tested on agent side.

JayPolanco
JayPolanco previously approved these changes Sep 28, 2023
sky333999
sky333999 previously approved these changes Sep 28, 2023
SaxyPandaBear
SaxyPandaBear previously approved these changes Sep 28, 2023
adam-mateen
adam-mateen previously approved these changes Sep 28, 2023
@zhihonl zhihonl merged commit 0df38c5 into aws-cwa-dev Sep 28, 2023
86 of 87 checks passed
@zhihonl zhihonl deleted the otel-fix branch September 28, 2023 17:03
lisguo pushed a commit to lisguo/opentelemetry-collector-contrib that referenced this pull request Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants