diff options
author | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-24 10:56:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 10:56:01 +0300 |
commit | 6508db43411fa298f1924028704f28010c715b9a (patch) | |
tree | 13e026b3c924770e0ff376b1ea5224e8a11506c2 /src/conf_mode/pki.py | |
parent | a109228a041fa29a66451fec4860decc079525a6 (diff) | |
download | vyos-1x-6508db43411fa298f1924028704f28010c715b9a.tar.gz vyos-1x-6508db43411fa298f1924028704f28010c715b9a.zip |
pki: T6241: remove debug print statement about updated subsystems (#3670)
Commit 9f9891a2099 ("pki: T6241: Fix dependency updates on PKI changes") added
a print() statement which notified the users about the subsystems which got
supplied with an updated certificate.
Example:
> PKI: Updating config: interfaces openvpn vtun0 tls certificate openvpn_vtun0
> PKI: Updating config: interfaces openvpn vtun0 tls ca_certificate openvpn_vtun0_1
This is an informational message which should maybe (if needed) be sent to
syslog. But the main issue is that CLI paths are mangled (- to _) which makes
the about print output wrong and could potentially confuse users.
Statement has been commented to be re-enabled for debugging.
(cherry picked from commit a4d49a96918c0f0dac3d17f9cf3a5b8f3a9505c0)
Co-authored-by: Christian Breunig <christian@breunig.cc>
Diffstat (limited to 'src/conf_mode/pki.py')
-rwxr-xr-x | src/conf_mode/pki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/pki.py b/src/conf_mode/pki.py index f37cac524..4a0e86f32 100755 --- a/src/conf_mode/pki.py +++ b/src/conf_mode/pki.py @@ -232,7 +232,7 @@ def get_config(config=None): path = search['path'] path_str = ' '.join(path + found_path) - print(f'PKI: Updating config: {path_str} {item_name}') + #print(f'PKI: Updating config: {path_str} {item_name}') if path[0] == 'interfaces': ifname = found_path[0] |