Fix typo in Slack Callback plugin (#38268)

`get_options` is an undefined method from CallbackBase

As a result, remove the trailing `s` letter.

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
This commit is contained in:
Daniel Andrei Mincă 2018-04-04 16:29:49 +03:00 committed by Sviatoslav Sydorenko
parent ac9dbdeb10
commit 19ca1b2b8a

View file

@ -152,7 +152,7 @@ class CallbackModule(CallbackBase):
invocation_items.append('Extra Vars: %s' %
' '.join(extra_vars))
title.append('by *%s*' % self.get_options('remote_user'))
title.append('by *%s*' % self.get_option('remote_user'))
title.append('\n\n*%s*' % self.playbook_name)
msg_items = [' '.join(title)]