[pve-devel] [PATCH container 1/1] add features 'clone', 'copy' to api
Dominik Csapak
d.csapak at proxmox.com
Mon Mar 19 13:32:31 CET 2018
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,
--
2.11.0
More information about the pve-devel
mailing list