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

fluentbit: JSON encoding: avoid base64 encoding of []byte inside other slices #1890

Merged
merged 1 commit into from
Apr 6, 2020
Merged

fluentbit: JSON encoding: avoid base64 encoding of []byte inside other slices #1890

merged 1 commit into from
Apr 6, 2020

Conversation

dottedmag
Copy link
Contributor

@dottedmag dottedmag commented Apr 2, 2020

What this PR does / why we need it:

Without this fix any strings inside arrays (directly or indirectly) end up being
base64-encoded.

Which issue(s) this PR fixes:
Fixes #1889

Special notes for your reviewer:

Checklist

  • Tests updated
  • Documentation added

Closes #1889

Signed-off-by: Mikhail Gusarov <misha@ridge.co>
@CLAassistant
Copy link

CLAassistant commented Apr 2, 2020

CLA assistant check
All committers have signed the CLA.

@dottedmag dottedmag changed the title **What this PR does / why we need it**: fluentbit: JSON encoding: avoid base64 encoding of []byte inside other slices Apr 2, 2020
@cyriltovena
Copy link
Contributor

Nice ! Looks good ! Are you able to sign the CLA ?

@dottedmag
Copy link
Contributor Author

dottedmag commented Apr 2, 2020

@cyriltovena Sure, let me pass it to the legal dept to approve.

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

If you have issue with CLA let me know.

@dottedmag
Copy link
Contributor Author

@cyriltovena All done.

@cyriltovena cyriltovena merged commit 3786d74 into grafana:master Apr 6, 2020
slim-bean pushed a commit that referenced this pull request Apr 6, 2020
…1890)

Closes #1889

Signed-off-by: Mikhail Gusarov <misha@ridge.co>
(cherry picked from commit 3786d74)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fluent-bit output plugin accidentally encodes all strings values inside arrays in base64
4 participants