fix(cert_manager): typo in valid_host
This commit is contained in:
@@ -192,7 +192,7 @@ class CertManager:
|
|||||||
_: ssl.SSLSocket,
|
_: ssl.SSLSocket,
|
||||||
/,
|
/,
|
||||||
) -> None | int:
|
) -> None | int:
|
||||||
if host is None or is_valid_host(host):
|
if host is None or not valid_host(host):
|
||||||
return None
|
return None
|
||||||
self.logger.debug("servername callback: %s", host)
|
self.logger.debug("servername callback: %s", host)
|
||||||
if not self.exists(host) and not self.create_or_update(host):
|
if not self.exists(host) and not self.create_or_update(host):
|
||||||
|
|||||||
Reference in New Issue
Block a user