From: Ian Jackson Date: Sun, 16 May 2021 21:49:22 +0000 (+0100) Subject: bundles: A todo X-Git-Tag: otter-0.6.0~213 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=00400befca6ffaa200fa179a09549ed44c4ef324;p=otter.git bundles: A todo Signed-off-by: Ian Jackson --- 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();