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_monitor: kwargs for _update_monitor used message vs notification_message #389

Merged

Conversation

asciifaceman
Copy link
Contributor

@asciifaceman asciifaceman commented May 20, 2020

SUMMARY

Noticed that datadog_monitor.py had not updated _update_monitor to use notification_message which deprecated message due to being a reserved keyword.

This PR makes that small correction.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

Monitoring / datadog_monitor

ADDITIONAL INFORMATION

before:

The error was: KeyError: 'message'
failed:

after:
works as expected

@asciifaceman asciifaceman changed the title Datadog: kwargs for _update_monitor used message vs notification_message datadog_monitor: kwargs for _update_monitor used message vs notification_message May 20, 2020
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added affects_2.10 bug This issue/PR relates to a bug module module labels May 20, 2020
@asciifaceman
Copy link
Contributor Author

Note: I don't understand the ansible/third-party-check that failed, but would be happy to correct anything if it is on my end

@felixfontein
Copy link
Collaborator

@asciifaceman you can ignore the third-party-check, I think it is still under development.

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Besides that, LGTM :)

Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

LGTM

@gundalow gundalow merged commit 694546d into ansible-collections:master May 28, 2020
@gundalow
Copy link
Contributor

Merged
@asciifaceman thank you for this bug fix.

Felix, thank you as always for your reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants