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>
pull/38276/head
Daniel Andrei Mincă 7 years ago committed by Sviatoslav Sydorenko
parent ac9dbdeb10
commit 19ca1b2b8a

@ -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)]

Loading…
Cancel
Save