fix api endpoint missing
This commit is contained in:
parent
c9b1dfde13
commit
8f17546d5c
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class AlertmanagerClient:
|
|||
|
||||
async def get_alerts(self) -> List[Dict]:
|
||||
try:
|
||||
async with self.session.get(f"{self.api_url}") as response:
|
||||
async with self.session.get(f"{self.api_url}/alerts") as response:
|
||||
response.raise_for_status()
|
||||
return await response.json()
|
||||
except ClientError as e:
|
||||
|
|
Loading…
Reference in a new issue