mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
🩹 — Severity of ssl-certificate-expiration’s errors is now UNKNOWN (#60)
This commit is contained in:
parent
db4f045adf
commit
0ed60508e9
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
- 🔨 — Add a small web server to browse documentation when developing
|
||||
- ✨ — Add new check type: http-to-https (#61)
|
||||
- 👷 — Remove Unreleased section from CHANGELOG when publishing documentation
|
||||
- 🩹 — Severity of ssl-certificate-expiration’s errors is now UNKNOWN (#60)
|
||||
|
||||
## 0.4.1
|
||||
|
||||
|
|
|
@ -341,6 +341,8 @@ class SSLCertificateExpiration(BaseCheck):
|
|||
|
||||
@classmethod
|
||||
async def finalize(cls, config, result, **context):
|
||||
if result.status == Status.ERROR:
|
||||
return result.status, Severity.UNKNOWN
|
||||
if result.status != Status.ON_CHECK:
|
||||
return result.status, Severity.WARNING
|
||||
|
||||
|
|
Loading…
Reference in a new issue