[pve-devel] [PATCH storage 1/5] fix descriptions of api calls

Dominik Csapak d.csapak at proxmox.com
Wed Aug 8 10:20:05 CEST 2018


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Disks/Directory.pm | 2 +-
 PVE/API2/Disks/ZFS.pm       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/PVE/API2/Disks/Directory.pm b/PVE/API2/Disks/Directory.pm
index c312509..3c5ebc5 100644
--- a/PVE/API2/Disks/Directory.pm
+++ b/PVE/API2/Disks/Directory.pm
@@ -171,7 +171,7 @@ __PACKAGE__->register_method ({
 	    name => get_standard_option('pve-storage-id'),
 	    device => {
 		type => 'string',
-		description => 'The block device you want to create the thinpool on.',
+		description => 'The block device you want to create the filesystem on.',
 	    },
 	    add_storage => {
 		description => "Configure storage using the directory.",
diff --git a/PVE/API2/Disks/ZFS.pm b/PVE/API2/Disks/ZFS.pm
index 57851c9..2d14f6c 100644
--- a/PVE/API2/Disks/ZFS.pm
+++ b/PVE/API2/Disks/ZFS.pm
@@ -229,7 +229,7 @@ __PACKAGE__->register_method ({
     permissions => {
 	check => ['perm', '/', ['Sys.Modify', 'Datastore.Allocate']],
     },
-    description => "Create an LVM thinpool.",
+    description => "Create a ZFS pool.",
     parameters => {
 	additionalProperties => 0,
 	properties => {
@@ -242,7 +242,7 @@ __PACKAGE__->register_method ({
 	    },
 	    devices => {
 		type => 'string', format => 'string-list',
-		description => 'The block device you want to create the thinpool on.',
+		description => 'The block devices you want to create the zpool on.',
 	    },
 	    ashift => {
 		type => 'integer',
@@ -260,7 +260,7 @@ __PACKAGE__->register_method ({
 		default => 'on',
 	    },
 	    add_storage => {
-		description => "Configure storage using the thinpool.",
+		description => "Configure storage using the zpool.",
 		type => 'boolean',
 		optional => 1,
 		default => 0,
-- 
2.11.0





More information about the pve-devel mailing list