[PR #11485/cb91ff42 backport][stable-12] Fix: avoid deprecated callback. (#11531)

Fix: avoid deprecated callback. (#11485)

* Fix: avoid deprecated callback.

* addition of changelog

* Improve changelog fragment.

---------



(cherry picked from commit cb91ff424f)

Co-authored-by: Tom Uijldert <155556120+TomUijldert@users.noreply.github.com>
Co-authored-by: tom uijldert <tom.uijldert@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2026-02-23 06:17:28 +01:00
committed by GitHub
parent 30eb35cb95
commit 8c429ac69d
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- splunk callback plugin - replace deprecated callback function (https://github.com/ansible-collections/community.general/pull/11485).

View File

@@ -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,