Skip to content

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

Merged
albertvaka merged 1 commit intomasterfrom
albertvaka/integer-slowlog_max_len
May 28, 2019
Merged

Fix trying to call .empty? on an integer#527
albertvaka merged 1 commit intomasterfrom
albertvaka/integer-slowlog_max_len

Conversation

@albertvaka
Copy link
Copy Markdown
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
Copy Markdown
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