diff options
author | John R Barker <john@johnrbarker.com> | 2017-06-19 17:23:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 17:23:29 +0100 |
commit | e998b7e40fac59e3563dfda949c9a2a68afcd005 (patch) | |
tree | a627a3ee040faac8a0eff465bca07025fe9f8ca4 /lib/ansible | |
parent | 2bfdb77ed49d68fd839354be0c1d77dc5667e2df (diff) | |
download | ansible-e998b7e40fac59e3563dfda949c9a2a68afcd005.tar.gz |
2.3bug25844flowdock (#25873)
* Correct failure message in flowdock (#25844)
As per documentation and code, external_user_name is
required parameter is case of type 'chat'.
Fix corrects error message displayed to user.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit a4ebde15161c3bbb9f1a7dcfde31b57836dfb4ad)
* Fix for flowdock error message when external_user_name is missing
Diffstat (limited to 'lib/ansible')
-rw-r--r-- | lib/ansible/modules/notification/flowdock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/notification/flowdock.py b/lib/ansible/modules/notification/flowdock.py index f21af4680a..41b389607f 100644 --- a/lib/ansible/modules/notification/flowdock.py +++ b/lib/ansible/modules/notification/flowdock.py @@ -156,7 +156,7 @@ def main(): else: params['external_user_name'] = module.params["external_user_name"] elif type == 'chat': - module.fail_json(msg="%s is required for the 'inbox' type" % item) + module.fail_json(msg="external_user_name is required for the 'chat' type") # required params for the 'inbox' type for item in [ 'from_address', 'source', 'subject' ]: |