[pve-devel] applied: [PATCH container 1/1] add features 'clone', 'copy' to api

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Mar 19 14:43:33 CET 2018


applied

On 3/19/18 1:32 PM, Dominik Csapak wrote:
> the gui needs this to detect full/linked clone and snapshots
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/PVE/API2/LXC.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
> index 90d12e0..9205215 100644
> --- a/src/PVE/API2/LXC.pm
> +++ b/src/PVE/API2/LXC.pm
> @@ -1064,7 +1064,7 @@ __PACKAGE__->register_method({
>              feature => {
>                  description => "Feature to check.",
>                  type => 'string',
> -                enum => [ 'snapshot' ],
> +                enum => [ 'snapshot', 'clone', 'copy' ],
>              },
>              snapname => get_standard_option('pve-lxc-snapshot-name', {
>                  optional => 1,
> 





More information about the pve-devel mailing list