]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/API2/LXC.pm
depreacate pve-lxc-snapshot-name in favor of identical pve-snapshot-name
[pve-container.git] / src / PVE / API2 / LXC.pm
index bba22d6b70ca08f19020cb7dc5a63b22276ab5d6..6de121f09b19960dff60b28145c7d0670f5d8116 100644 (file)
@@ -1074,7 +1074,7 @@ __PACKAGE__->register_method({
                 type => 'string',
                 enum => [ 'snapshot', 'clone', 'copy' ],
             },
-            snapname => get_standard_option('pve-lxc-snapshot-name', {
+            snapname => get_standard_option('pve-snapshot-name', {
                 optional => 1,
             }),
        },
@@ -1233,7 +1233,7 @@ __PACKAGE__->register_method({
                type => 'string', format => 'pve-poolid',
                description => "Add the new CT to the specified pool.",
            },
-           snapname => get_standard_option('pve-lxc-snapshot-name', {
+           snapname => get_standard_option('pve-snapshot-name', {
                optional => 1,
             }),
            storage => get_standard_option('pve-storage-id', {