Add mTLS support for Loki monitoring hook

This commit is contained in:
Maxime Hamon
2026-04-12 17:57:01 +02:00
parent aee16e32e2
commit edfa708fa3
5 changed files with 121 additions and 5 deletions
@@ -90,7 +90,7 @@ def test_ping_monitor_sends_log_message():
config_filename = 'test.yaml'
post_called = False
def post(url, data, timeout, headers):
def post(url, data, timeout, headers, **kwargs):
nonlocal post_called
post_called = True