File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ pub struct AuditLogger {
44
44
}
45
45
46
46
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
48
48
/// audit logs to the appropriate logging system over HTTP
49
49
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,
52
52
// when the base URL is not set or the ingest path is not valid
53
53
let log_endpoint = match CONFIG
54
54
. parseable
@@ -76,7 +76,7 @@ impl AuditLogger {
76
76
. post ( self . log_endpoint . as_str ( ) )
77
77
. json ( & json)
78
78
. header ( "x-p-stream" , "audit_log" ) ;
79
-
79
+
80
80
// Use basic auth if credentials are configured
81
81
if let Some ( username) = CONFIG . parseable . audit_username . as_ref ( ) {
82
82
req = req. basic_auth ( username, CONFIG . parseable . audit_password . as_ref ( ) )
You can’t perform that action at this time.
0 commit comments