mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
🩹 — Update pydantic schema for alerts
This commit is contained in:
parent
cbc75c710c
commit
3600c2b4f7
1 changed files with 3 additions and 2 deletions
|
@ -96,9 +96,10 @@ class Service(BaseModel):
|
|||
class Alert(BaseModel):
|
||||
"""List of way to handle alerts, by severity"""
|
||||
|
||||
error: List[str]
|
||||
ok: List[str]
|
||||
warning: List[str]
|
||||
alert: List[str]
|
||||
critical: List[str]
|
||||
unknown: List[str]
|
||||
|
||||
|
||||
class General(BaseModel):
|
||||
|
|
Loading…
Reference in a new issue