From b4c136125e6671b64ba0aac941205f47d9999e8f Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 27 Feb 2021 21:23:07 +0100 Subject: [PATCH] Actually use option. (#1928) --- changelogs/fragments/1928-bigpanda-message.yml | 2 ++ plugins/modules/monitoring/bigpanda.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/1928-bigpanda-message.yml diff --git a/changelogs/fragments/1928-bigpanda-message.yml b/changelogs/fragments/1928-bigpanda-message.yml new file mode 100644 index 0000000000..081b51cc0f --- /dev/null +++ b/changelogs/fragments/1928-bigpanda-message.yml @@ -0,0 +1,2 @@ +bugfixes: +- "bigpanda - actually use the ``deployment_message`` option (https://github.com/ansible-collections/community.general/pull/1928)." diff --git a/plugins/modules/monitoring/bigpanda.py b/plugins/modules/monitoring/bigpanda.py index ea693eb886..8faec5d030 100644 --- a/plugins/modules/monitoring/bigpanda.py +++ b/plugins/modules/monitoring/bigpanda.py @@ -183,7 +183,7 @@ def main(): request_url = url + '/data/events/deployments/start' else: - message = module.params['message'] + message = module.params['deployment_message'] if message is not None: body['errorMessage'] = message