]> git.proxmox.com Git - proxmox-backup.git/commitdiff
src/api2/config/datastore.rs: fix api docu
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 18 Dec 2019 09:48:19 +0000 (10:48 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 18 Dec 2019 09:48:19 +0000 (10:48 +0100)
src/api2/config/datastore.rs

index 92d1b17e7f6f8b572851b692b7cd29324fb0a166..5e1c995b6232dafd3b9836b5e7606d000d751748 100644 (file)
@@ -32,7 +32,7 @@ pub const POST: ApiMethod = ApiMethod::new(
         "Create new datastore.",
         &[
             ("name", false, &DATASTORE_SCHEMA),
         "Create new datastore.",
         &[
             ("name", false, &DATASTORE_SCHEMA),
-            ("path", false, &StringSchema::new("Directory path (must exist).").schema()),
+            ("path", false, &StringSchema::new("Directory path. The directory path is created if it does not already exist.").schema()),
         ],
     )       
 );
         ],
     )       
 );