src/api2/admin/datastore/backup.rs: add missing 'archive-name' parameter to schema

This commit is contained in:
Dietmar Maurer 2019-05-11 12:25:15 +02:00
parent 6b95c7df07
commit af1d68185c
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ pub fn api_method_create_dynamic_index() -> ApiMethod {
ApiMethod::new( ApiMethod::new(
create_dynamic_index, create_dynamic_index,
ObjectSchema::new("Create dynamic chunk index file.") ObjectSchema::new("Create dynamic chunk index file.")
.required("archive-name", StringSchema::new("Backup archive name."))
) )
} }