From 1a0678b601ea337aadd9d350dd87205dbbbb35bf Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 6 Dec 2019 12:32:53 +0100 Subject: [PATCH] src/api2/admin/datastore.rs: remove prune parameters from status call Not idea why they are added there. --- src/api2/admin/datastore.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api2/admin/datastore.rs b/src/api2/admin/datastore.rs index 4264339b..7a46a140 100644 --- a/src/api2/admin/datastore.rs +++ b/src/api2/admin/datastore.rs @@ -273,9 +273,9 @@ const API_METHOD_STATUS: ApiMethod = ApiMethod::new( &ApiHandler::Sync(&status), &ObjectSchema::new( "Get datastore status.", - &add_common_prune_prameters!([],[ + &[ ("store", false, &StringSchema::new("Datastore name.").schema()), - ]), + ], ) );