mirror of
https://github.com/Luzifer/dns.git
synced 2024-12-22 19:01:20 +00:00
Fix: Default value is None, not ''
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
21ffa283ef
commit
ea6ad1f1be
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ def write_zone(zone, ttl, soa, nameserver, mailserver, entries):
|
||||||
|
|
||||||
|
|
||||||
def healthcheck():
|
def healthcheck():
|
||||||
if os.getenv('HC_PING') != '':
|
if os.getenv('HC_PING') is not None:
|
||||||
requests.get(os.getenv('HC_PING'))
|
requests.get(os.getenv('HC_PING'))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue