From af1d68185cf53fc1efc73ca496a9ea1a25cfc2d8 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 11 May 2019 12:25:15 +0200 Subject: [PATCH] src/api2/admin/datastore/backup.rs: add missing 'archive-name' parameter to schema --- src/api2/admin/datastore/backup.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api2/admin/datastore/backup.rs b/src/api2/admin/datastore/backup.rs index 06dcacc3..1335d169 100644 --- a/src/api2/admin/datastore/backup.rs +++ b/src/api2/admin/datastore/backup.rs @@ -153,6 +153,7 @@ pub fn api_method_create_dynamic_index() -> ApiMethod { ApiMethod::new( create_dynamic_index, ObjectSchema::new("Create dynamic chunk index file.") + .required("archive-name", StringSchema::new("Backup archive name.")) ) }