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

fluentd-plugin: call gsub for strings only #1475

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

Horkyze
Copy link
Contributor

@Horkyze Horkyze commented Jan 7, 2020

What this PR does / why we need it:
Calling gsub only for String variables.
Previously it was called on any variable type, which may result in error if the type was Integer.

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

Special notes for your reviewer:
Also deleted the additional space in email list, because rake spec was crying about it.
Am not a ruby programmer, so perhaps there is a better way to fix this?

@claassistantio
Copy link

claassistantio commented Jan 7, 2020

CLA assistant check
All committers have signed the CLA.

@cyriltovena
Copy link
Contributor

@Horkyze Can you sign the CLA ? Otherwise I can repush this with my account.

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

@Horkyze
Copy link
Contributor Author

Horkyze commented Jan 8, 2020

@cyriltovena it is signed now ;)

@cyriltovena cyriltovena merged commit aa09aa5 into grafana:master Jan 9, 2020
cyriltovena added a commit to cyriltovena/loki that referenced this pull request Jan 10, 2020
This was ommitted in the previous PR grafana#1475.
Unfortunatelly I need a new version to publish the new gem.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
cyriltovena added a commit that referenced this pull request Jan 10, 2020
This was ommitted in the previous PR #1475.
Unfortunatelly I need a new version to publish the new gem.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Processign integer values in fluent-plugin-grafana-loki fails on gsub
3 participants