We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent e2d6c6a commit b14130bCopy full SHA for b14130b
src/heahmund/ssl.py
@@ -71,7 +71,7 @@ def run(self):
71
days_until_expiry = (expiry_date - current_date).days
72
73
# Check if the certificate is valid for the specified number of days
74
- if days_until_expiry > days:
+ if days_until_expiry > self.days:
75
return {"name": self.name, "status": Status.OK}
76
else:
77
return {"name": self.name, "status": Status.NOT_OK}
0 commit comments