cleanup: remove unused code

This commit is contained in:
Dietmar Maurer 2019-05-09 18:11:39 +02:00
parent b4b63e520d
commit 5f42ef009a
1 changed files with 0 additions and 1 deletions

View File

@ -85,7 +85,6 @@ fn upload_chunk(
let resp = upload.select(abort_future) let resp = upload.select(abort_future)
.and_then(|(result, _)| Ok(result)) .and_then(|(result, _)| Ok(result))
.map_err(|(err, _)| err) .map_err(|(err, _)| err)
//.then(|res| Ok(crate::server::formatter::json_response(res)));
.then(move |res| { .then(move |res| {
let env: &BackupEnvironment = rpcenv.as_ref(); let env: &BackupEnvironment = rpcenv.as_ref();
Ok(env.format_response(res)) Ok(env.format_response(res))