Skip to content

Commit 0ce7fb7

Browse files
Correctly log when skipping duration recording
1 parent 0b14bb1 commit 0ce7fb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

collector/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,9 @@ fn bench(
274274

275275
eprintln!("collection took {:?}", end);
276276

277-
if !skipped {
277+
if skipped {
278278
log::info!("skipping duration record -- skipped parts of run");
279+
} else {
279280
rt.block_on(conn.record_duration(interned_cid, end));
280281
}
281282

0 commit comments

Comments
 (0)