From 3a03aefdd0cbf6d7eedd96b9f216d6d59e24d911 Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Tue, 2 Apr 2024 19:48:51 +0530 Subject: [PATCH] fix: set action_id on reload --- uplink/src/collector/downloader.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink/src/collector/downloader.rs b/uplink/src/collector/downloader.rs index 0206fa0c9..462828792 100644 --- a/uplink/src/collector/downloader.rs +++ b/uplink/src/collector/downloader.rs @@ -188,7 +188,8 @@ impl FileDownloader { return; } }; - + self.action_id = state.current.action.action_id.clone(); + if let Err(e) = self.download(state).await { self.forward_error(e).await; }