fix descriptions of api calls

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2018-08-08 10:20:05 +02:00
committed by Dietmar Maurer
parent 7d597888a4
commit fdc863c705
2 changed files with 4 additions and 4 deletions

View File

@ -171,7 +171,7 @@ __PACKAGE__->register_method ({
name => get_standard_option('pve-storage-id'), name => get_standard_option('pve-storage-id'),
device => { device => {
type => 'string', 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 => { add_storage => {
description => "Configure storage using the directory.", description => "Configure storage using the directory.",

View File

@ -229,7 +229,7 @@ __PACKAGE__->register_method ({
permissions => { permissions => {
check => ['perm', '/', ['Sys.Modify', 'Datastore.Allocate']], check => ['perm', '/', ['Sys.Modify', 'Datastore.Allocate']],
}, },
description => "Create an LVM thinpool.", description => "Create a ZFS pool.",
parameters => { parameters => {
additionalProperties => 0, additionalProperties => 0,
properties => { properties => {
@ -242,7 +242,7 @@ __PACKAGE__->register_method ({
}, },
devices => { devices => {
type => 'string', format => 'string-list', 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 => { ashift => {
type => 'integer', type => 'integer',
@ -260,7 +260,7 @@ __PACKAGE__->register_method ({
default => 'on', default => 'on',
}, },
add_storage => { add_storage => {
description => "Configure storage using the thinpool.", description => "Configure storage using the zpool.",
type => 'boolean', type => 'boolean',
optional => 1, optional => 1,
default => 0, default => 0,