api: rename h2upload to backup

This commit is contained in:
Dietmar Maurer
2019-05-08 12:35:15 +02:00
parent d906b1124f
commit ca60c371e2
3 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ fn run() -> Result<(), Error> {
let mut client = HttpClient::new(host, username)?;
let h2client = client.h2upgrade("/api2/json/admin/datastore/store2/h2upload");
let h2client = client.h2upgrade("/api2/json/admin/datastore/store2/backup");
let res = h2client.and_then(|mut h2| {
println!("start http2");