mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-28 18:02:07 +00:00
config: ensure that tags are unique
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
eaa3a2b35a
commit
db22080c33
@ -1768,7 +1768,7 @@ my $update_vm_api = sub {
|
||||
$conf->{pending}->{$opt} = $param->{$opt};
|
||||
} elsif ($opt eq 'tags') {
|
||||
assert_tag_permissions($vmid, $conf->{$opt}, $param->{$opt}, $rpcenv, $authuser);
|
||||
$conf->{pending}->{$opt} = $param->{$opt};
|
||||
$conf->{pending}->{$opt} = PVE::GuestHelpers::get_unique_tags($param->{$opt});
|
||||
} else {
|
||||
$conf->{pending}->{$opt} = $param->{$opt};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user