From 1784ec785e53e2ae924ea3c4a755bfc07cd8784a Mon Sep 17 00:00:00 2001 From: Raphael Druon Date: Fri, 2 Aug 2024 01:41:10 -0600 Subject: [PATCH] Fix --- lustre-collector/Cargo.toml | 8 ++++++++ lustre-collector/src/types.rs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lustre-collector/Cargo.toml b/lustre-collector/Cargo.toml index c49d578..fe56511 100644 --- a/lustre-collector/Cargo.toml +++ b/lustre-collector/Cargo.toml @@ -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 diff --git a/lustre-collector/src/types.rs b/lustre-collector/src/types.rs index 5276a2a..0422e08 100644 --- a/lustre-collector/src/types.rs +++ b/lustre-collector/src/types.rs @@ -85,7 +85,7 @@ impl From 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 for UnsignedLustreTimestamp { type Error = LustreCollectorError;