mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-12-27 16:08:55 +00:00
dont verify ssl cert on ha replication
This commit is contained in:
parent
de28d000e7
commit
9a370f817a
@ -42,7 +42,7 @@ def ha_replicate(logger: "logging.Logger", ha_replicate: str, ha_role: str, vers
|
||||
'sync_timestamp': datetime.utcnow().isoformat(),
|
||||
}
|
||||
|
||||
r = httpx.put(f'https://{ha_replicate}/-/ha/replicate', json=data)
|
||||
r = httpx.put(f'https://{ha_replicate}/-/ha/replicate', json=data, verify=False)
|
||||
if r.status_code == 202:
|
||||
logger.info(f'Successfully replicated this node ({ha_role}) to "{ha_replicate}".')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user