[pve-devel] applied: [PATCH pve-client 1/2] Use get_standard_option for vmid in enter

Dietmar Maurer dietmar at proxmox.com
Wed Jun 13 08:46:14 CEST 2018


applied

> On June 12, 2018 at 11:55 AM René Jochum <r.jochum at proxmox.com> wrote:
> 
> 
> Signed-off-by: René Jochum <r.jochum at proxmox.com>
> ---
>  PVE/APIClient/Commands/lxc.pm | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm
> index 66ad704..4e76f70 100644
> --- a/PVE/APIClient/Commands/lxc.pm
> +++ b/PVE/APIClient/Commands/lxc.pm
> @@ -168,10 +168,7 @@ __PACKAGE__->register_method ({
>  	additionalProperties => 0,
>  	properties => {
>  	    remote => get_standard_option('pveclient-remote-name'),
> -	    vmid => {
> -		description => "The container ID",
> -		type => 'string',
> -	    },
> +	    vmid => get_standard_option('pve-vmid')
>  	},
>      },
>      returns => { type => 'null'},
> -- 
> 2.11.0
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list