cleanup: remove unused code
This commit is contained in:
parent
b4b63e520d
commit
5f42ef009a
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue