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

Fix trying to call .empty? on an integer #527

Merged
merged 1 commit into from
May 28, 2019

Conversation

albertvaka
Copy link
Contributor

@albertvaka albertvaka commented May 27, 2019

slowlog_max_len can be either int or string. Always cast it to string.

I haven't been able to run the tests locally. I hope this is the correct way to cast to string in puppet and the tests pass on the CI.

@albertvaka albertvaka force-pushed the albertvaka/integer-slowlog_max_len branch from 963ed21 to 2f48dd4 Compare May 28, 2019 09:22
`slowlog_max_len` can be either int or string.
@albertvaka albertvaka force-pushed the albertvaka/integer-slowlog_max_len branch from 2984feb to 37a4344 Compare May 28, 2019 10:15
Copy link
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

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

Nice 👌

@albertvaka albertvaka merged commit 4f0369e into master May 28, 2019
@albertvaka albertvaka deleted the albertvaka/integer-slowlog_max_len branch May 28, 2019 12:18
@truthbk truthbk added this to the 2.6.0 milestone May 31, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Apr 6, 2020
…g_max_len

Fix trying to call .empty? on an integer
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.

2 participants