mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
Fix: avoid deprecated callback. (#11485)
* Fix: avoid deprecated callback. * addition of changelog * Improve changelog fragment. --------- Co-authored-by: tom uijldert <tom.uijldert@gmail.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
2
changelogs/fragments/11485-avoid-deprected-callback.yml
Normal file
2
changelogs/fragments/11485-avoid-deprected-callback.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- splunk callback plugin - replace deprecated callback function (https://github.com/ansible-collections/community.general/pull/11485).
|
||||
@@ -254,7 +254,7 @@ class CallbackModule(CallbackBase):
|
||||
self._runtime(result),
|
||||
)
|
||||
|
||||
def runner_on_async_failed(self, result, **kwargs):
|
||||
def v2_runner_on_async_failed(self, result, **kwargs):
|
||||
self.splunk.send_event(
|
||||
self.url,
|
||||
self.authtoken,
|
||||
|
||||
Reference in New Issue
Block a user