Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RDruon committed Aug 2, 2024
1 parent d6094c6 commit 1784ec7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions lustre-collector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ include_dir.workspace = true
insta.workspace = true
criterion = { version = "0.5", features = ["html_reports"] }

[lib]
bench = false

[[bin]]
name = "lustre_collector"
path = "src/main.rs"
bench = false

[[bench]]
name = "jobstats_slow"
harness = false
Expand Down
2 changes: 1 addition & 1 deletion lustre-collector/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl From<UnsignedLustreTimestamp> for String {
/// The lustre timestamp can be in two formats:
/// 1. An `i64` representing the number of milliseconds since the Unix epoch.
/// 2. A string in the format "seconds.factional_seconds secs.[u|n]secs". For example,
/// "1409777887.590578 secs.usecs".
/// "1409777887.590578 secs.usecs".
impl TryFrom<String> for UnsignedLustreTimestamp {
type Error = LustreCollectorError;

Expand Down

0 comments on commit 1784ec7

Please sign in to comment.