mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-18 22:21:50 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
a13f116698
commit
7eb32e55ce
@ -228,9 +228,11 @@ async fn handle_request(
|
||||
error: e.to_string(),
|
||||
})?;
|
||||
|
||||
checkpoint.create_checkpoint(&checkpoint_dir).map_err(|e| StateError::RocksDBError {
|
||||
checkpoint.create_checkpoint(&checkpoint_dir).map_err(|e| {
|
||||
StateError::RocksDBError {
|
||||
action: "BackupCheckpointCreate".into(),
|
||||
error: e.to_string(),
|
||||
}
|
||||
})?;
|
||||
|
||||
(serde_json::to_vec(&StateResponse::Backup).unwrap(), None)
|
||||
|
Loading…
Reference in New Issue
Block a user