Do not return anything from remove_opendkim()

This commit is contained in:
link2xt
2024-01-12 18:47:57 +00:00
committed by missytake
parent 6186dc5259
commit 998799fe3f

View File

@@ -384,7 +384,7 @@ def _configure_nginx(domain: str, debug: bool = False) -> bool:
return need_restart
def remove_opendkim() -> bool:
def remove_opendkim() -> None:
"""Remove OpenDKIM, deprecated"""
files.file(
name="Remove legacy opendkim.conf",
@@ -399,7 +399,6 @@ def remove_opendkim() -> bool:
)
apt.packages(name="Remove openDKIM", packages="opendkim", present=False)
return False
def _configure_rspamd(dkim_selector: str, mail_domain: str) -> bool: