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(),
|
'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:
|
if r.status_code == 202:
|
||||||
logger.info(f'Successfully replicated this node ({ha_role}) to "{ha_replicate}".')
|
logger.info(f'Successfully replicated this node ({ha_role}) to "{ha_replicate}".')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user