mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 23:20:06 +00:00
remove wrong comment
the change to encode pending changes differently is not yet included in qemu-server. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
a85c6be13e
commit
d184401e9f
@ -2740,9 +2740,6 @@ sub write_vm_config {
|
||||
&$cleanup_config($conf->{pending}, 1);
|
||||
|
||||
foreach my $snapname (keys %{$conf->{snapshots}}) {
|
||||
# TODO: we can allow snapshots with name 'pending' after PVE 7.0
|
||||
# since pending section is namespaced with 'pve:'
|
||||
# but for now, we should forbid it to avoid confusion in parser
|
||||
die "internal error: snapshot name '$snapname' is forbidden" if lc($snapname) eq 'pending';
|
||||
&$cleanup_config($conf->{snapshots}->{$snapname}, undef, $snapname);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user