1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-21 20:59:10 +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:
Tom Uijldert 2026-02-23 05:36:24 +01:00 committed by GitHub
parent 0e184d24cf
commit cb91ff424f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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), 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.splunk.send_event(
self.url, self.url,
self.authtoken, self.authtoken,