From 00400befca6ffaa200fa179a09549ed44c4ef324 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 May 2021 22:49:22 +0100 Subject: [PATCH] bundles: A todo Signed-off-by: Ian Jackson --- src/bundles.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bundles.rs b/src/bundles.rs index f05b9f89..9772f10f 100644 --- a/src/bundles.rs +++ b/src/bundles.rs @@ -817,6 +817,7 @@ impl InstanceBundles { #[throws(MgmtError)] pub fn start_upload(&mut self, ig: &mut Instance, kind: Kind) -> Uploading { + // todo: if bundle hash is here already, simply promote it let state = State::Uploading; let slot = Some(Note { kind, state }); let index = self.bundles.len(); -- 2.30.2