On Tue, 22 Jan 2013 10:11:58 +0100
Alexandre Derumier <[email protected]> wrote:

>  __PACKAGE__->register_method({
> +    name => 'move_vm',
> +    path => '{vmid}/move',
> +    method => 'PUT',
> +    protected => 1,
> +    proxyto => 'node',
> +    description => "Move volume to different storage.",
> +    permissions => {
> +        check => ['perm', '/vms/{vmid}', [ 'VM.Config.Disk' ]],
> +    },
> +    parameters => {
> +        additionalProperties => 0,
> +        properties => {
> +         node => get_standard_option('pve-node'),
> +         vmid => get_standard_option('pve-vmid'),
> +         skiplock => get_standard_option('skiplock'),
> +         disk => {
> +             type => 'string',
> +             description => "The disk you want to resize.",
Shouldn't the description not be "The disk you want to move"?

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Klatu barada nikto.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to