Skip to content

Commit 1f27540

Browse files
chore: fix logging
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
1 parent 835d57e commit 1f27540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/certs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub(crate) async fn create_tls_config_and_watch_certificate_changes(
7272
inotify
7373
.watches()
7474
.add(path, inotify::WatchMask::CLOSE_WRITE)
75-
.map_err(|e| anyhow!("Cannot watch client certificate file: {e}"))
75+
.map_err(|e| anyhow!("Cannot watch client CA file: {e}"))
7676
})
7777
.collect();
7878

@@ -109,14 +109,14 @@ pub(crate) async fn create_tls_config_and_watch_certificate_changes(
109109

110110
for client_ca_watch in client_ca_watches.iter() {
111111
if event.wd == *client_ca_watch {
112-
info!("TLS client certificate file has been modified");
112+
info!("TLS client CA file has been modified");
113113
client_ca_changed = true;
114114
}
115115
}
116116

117117
// Reload the client CA certificates if they have changed, keeping the current server certificates unchanged
118118
if client_ca_changed {
119-
info!("Reloading Client CA certificates");
119+
info!("Reloading client CA certificates");
120120

121121
client_ca_changed = false;
122122

0 commit comments

Comments
 (0)