fix status remote cert display

add description for cert_sync_bulk
This commit is contained in:
Andreas Stuerz
2021-02-23 16:36:02 +01:00
parent 1654bd1f2c
commit 1c5346467d
2 changed files with 3 additions and 2 deletions
@@ -113,7 +113,7 @@ class Diff(SyncWithTarget):
status[crt_list.frontend_id]['certs'][cert.cert_id] = {
'path': cert.path,
'local': cert.local,
'remote': cert.local,
'remote': cert.remote,
}
return status
@@ -260,7 +260,7 @@ class Diff(SyncWithTarget):
print(" " + repr(message))
for cert in crt_list['del']:
print(f" DEL: {cert['cert']}")
print(f"\n DEL: {cert['cert']}")
for message in cert['messages']:
print(" " + repr(message))
print()
@@ -99,3 +99,4 @@ command:/usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py sync --output
parameters:
type:script_output
message:Sync ssl certificates into HAProxy memory for all frontends
description:Sync ssl certificates changes into HAProxy memory