Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(stdlib): bump year in failing examples #1203

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/stdlib/parse_klog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl Function for ParseKlog {
"level": "info",
"line": 70,
"message": "hello from klog",
"timestamp": "2024-05-05T17:59:40.692994Z"
"timestamp": "2025-05-05T17:59:40.692994Z"
}"#}),
}]
}
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib/parse_linux_authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ impl Function for ParseLinuxAuthorization {
&[Example {
title: "\
parse authorization event",
source: "parse_linux_authorization!(s'Mar 23 01:49:58 localhost sshd[1111]: Accepted publickey for eng from 10.1.1.1 port 8888 ssh2: RSA SHA256:foobar')",
source: "parse_linux_authorization!(s'Mar 23 2025 01:49:58 localhost sshd[1111]: Accepted publickey for eng from 10.1.1.1 port 8888 ssh2: RSA SHA256:foobar')",
pront marked this conversation as resolved.
Show resolved Hide resolved
result: Ok(indoc! {r#"{
"appname": "sshd",
"hostname": "localhost",
"message": "Accepted publickey for eng from 10.1.1.1 port 8888 ssh2: RSA SHA256:foobar",
"procid": 1111,
"timestamp": "2024-03-23T01:49:58Z"
"timestamp": "2025-03-23T01:49:58Z"
}"#}),
}]
}
Expand Down
Loading