From 1d39289743b05be42a394c5200729ef662233b85 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic <73236646+NikolaMilosa@users.noreply.github.com> Date: Fri, 7 Jun 2024 14:03:29 +0200 Subject: [PATCH] chore: changing default behavior if cursor is not present (#466) --- rs/log-fetcher/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs/log-fetcher/src/main.rs b/rs/log-fetcher/src/main.rs index 07a51634d..0be07594e 100644 --- a/rs/log-fetcher/src/main.rs +++ b/rs/log-fetcher/src/main.rs @@ -67,7 +67,7 @@ async fn main() -> Result<(), anyhow::Error> { cursor, match cursor.is_empty() { false => 1, - true => -1, + true => 0, }, 30 );