]> git.proxmox.com Git - proxmox-backup.git/commitdiff
upload_chunk.rs: add comment about possible unnecessary code
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 10 May 2019 04:15:25 +0000 (06:15 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 10 May 2019 04:15:25 +0000 (06:15 +0200)
src/api2/admin/datastore/backup/upload_chunk.rs

index 8428ad144c3c6bdf3d672770afdcda3c4426f721..4a6ee7abc429423a2153dd2c2638b7a8319afb25 100644 (file)
@@ -80,6 +80,7 @@ fn upload_chunk(
 
     let upload = UploadChunk::new(req_body, env.datastore.clone(), size as u64);
 
+    // fixme: do we really need abort here? We alread do that on level above.
     let abort_future = env.worker.abort_future().then(|_| Ok(Value::Null));
 
     let resp = upload.select(abort_future)