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

@ -17,10 +17,10 @@ use crate::api_schema::*;
use crate::server::formatter::*;
use crate::server::WorkerTask;
pub fn api_method_upgrade_h2upload() -> ApiAsyncMethod {
pub fn api_method_upgrade_backup() -> ApiAsyncMethod {
ApiAsyncMethod::new(
upgrade_h2upload,
ObjectSchema::new("Experimental h2 server")
ObjectSchema::new("Upgraded to backup protocol.")
.required("store", StringSchema::new("Datastore name.")),
)
}