fix: i am so good at coding
This commit is contained in:
parent
5630f8f8d1
commit
15d9f4d820
3 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,7 @@ def read_config(path: Optional[str]) -> Config:
|
||||||
raw_conf = tomllib.load(file)
|
raw_conf = tomllib.load(file)
|
||||||
|
|
||||||
for key in raw_conf:
|
for key in raw_conf:
|
||||||
if key not in ('domains', 'secrets'):
|
if key not in ('domains', 'secrets', 'post_acquire', 'acme_path'):
|
||||||
log.warning('unknown config key: %s', key)
|
log.warning('unknown config key: %s', key)
|
||||||
|
|
||||||
c = Config()
|
c = Config()
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
from ..config import Config
|
||||||
|
|
||||||
class Handler:
|
class Handler:
|
||||||
zone: str
|
zone: str
|
||||||
config: Config
|
config: Config
|
||||||
|
|
|
@ -3,6 +3,7 @@ import json
|
||||||
from typing import Optional, Any
|
from typing import Optional, Any
|
||||||
|
|
||||||
from .base import Handler
|
from .base import Handler
|
||||||
|
from ..config import Config
|
||||||
|
|
||||||
class HetznerHandler(Handler):
|
class HetznerHandler(Handler):
|
||||||
# discovered
|
# discovered
|
||||||
|
|
Loading…
Reference in a new issue