From 3c430cd1a858a49629cdde127de9fba8c9d089af Mon Sep 17 00:00:00 2001 From: sbgap Date: Mon, 23 Oct 2023 17:57:55 +0200 Subject: [PATCH] fix: add session for escalate --- alertaclient/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alertaclient/api.py b/alertaclient/api.py index 9abcbe9..d75ae98 100644 --- a/alertaclient/api.py +++ b/alertaclient/api.py @@ -493,7 +493,7 @@ def housekeeping(self, expired_delete_hours=None, info_delete_hours=None): raise UnknownError(response.text) def escalate(self): - self.http.get('/escalate', auth=self.http.auth) + self.http.session.get(self.http.endpoint + '/escalate', auth=self.http.auth, timeout=self.http.timeout) class ApiKeyAuth(AuthBase):