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

[datadog-report] m could be nil, breaking reporting. Fix gem provider. #211

Merged
merged 4 commits into from
Jul 28, 2016

Conversation

truthbk
Copy link
Member

@truthbk truthbk commented Jul 26, 2016

Reporting could potentially break if m happened to be nil.

Also, because the reporting code will indeed run on the agent (as tested on 4.5.1) we don't need to rely on the puppetserver_gem (required to install gems on the JRuby environment on the puppetserver when code runs on the server-side).

Also improves a bit on #210 so we can better spec-test for it (making dogapi_version a parameter for the reports submodule), and perhaps change the source of the dogapi_version in the future.

@truthbk truthbk changed the title [datadog-report] m could be nil, breaking reporting. [datadog-report] m could be nil, breaking reporting. Jul 26, 2016
@truthbk truthbk changed the title [datadog-report] m could be nil, breaking reporting. [datadog-report] m could be nil, breaking reporting. Fix gem provider. Jul 27, 2016
@gmmeyer
Copy link
Contributor

gmmeyer commented Jul 28, 2016

lgtm

@truthbk truthbk merged commit 373a58f into master Jul 28, 2016
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Jan 31, 2018
[datadog-report] `m` could be nil, breaking reporting. Fix gem provider.
@mx-psi mx-psi deleted the jaime/fixmetrics branch July 13, 2020 08:35
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.

None yet

2 participants