mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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>
This commit is contained in:
parent
4ab4a6766e
commit
a4ebde1516
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
params['external_user_name'] = module.params["external_user_name"]
|
params['external_user_name'] = module.params["external_user_name"]
|
||||||
elif type == 'chat':
|
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
|
# required params for the 'inbox' type
|
||||||
for item in [ 'from_address', 'source', 'subject' ]:
|
for item in [ 'from_address', 'source', 'subject' ]:
|
||||||
|
|
Loading…
Reference in a new issue