Skip to content

Commit c595f6b

Browse files
author
Devdutt Shenoi
committed
ci: fix fmt
1 parent 7d5f011 commit c595f6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/audit.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ pub struct AuditLogger {
4444
}
4545

4646
impl AuditLogger {
47-
/// Create an audit logger that can be used to capture and push
47+
/// Create an audit logger that can be used to capture and push
4848
/// audit logs to the appropriate logging system over HTTP
4949
pub fn new() -> Option<AuditLogger> {
50-
// Try to construct the log endpoint URL by joining the base URL
51-
// with the ingest path, This can fail if the URL is not valid,
50+
// Try to construct the log endpoint URL by joining the base URL
51+
// with the ingest path, This can fail if the URL is not valid,
5252
// when the base URL is not set or the ingest path is not valid
5353
let log_endpoint = match CONFIG
5454
.parseable
@@ -76,7 +76,7 @@ impl AuditLogger {
7676
.post(self.log_endpoint.as_str())
7777
.json(&json)
7878
.header("x-p-stream", "audit_log");
79-
79+
8080
// Use basic auth if credentials are configured
8181
if let Some(username) = CONFIG.parseable.audit_username.as_ref() {
8282
req = req.basic_auth(username, CONFIG.parseable.audit_password.as_ref())

0 commit comments

Comments
 (0)