api: rename h2upload to backup
This commit is contained in:
1 parent
d906b1124f
commit
ca60c371e2
3 files changed
+6
-6
No files matched your search
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user