use return value (avoid compiler warning)

This commit is contained in:
Dietmar Maurer 2018-12-21 12:44:20 +01:00
parent 03e4753d8e
commit 3c140f60cd
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ fn test_sync_api_handler2(param: Value, _info: &ApiMethod) -> Result<Value, Erro
let datastore = lookup_datastore("store1")?; let datastore = lookup_datastore("store1")?;
datastore.garbage_collection(); datastore.garbage_collection()?;
Ok(json!(null)) Ok(json!(null))
} }