mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
fix status remote cert display
add description for cert_sync_bulk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user