mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-03 19:57:54 +00:00
Revert "fix bug 790: encode description before writing to syslog"
This reverts commit 9ac5db408d
.
This is now fixed by a change in PVE::Cluster::log_msg().
This commit is contained in:
parent
8e6c2f694d
commit
c13e17d0d4
@ -789,12 +789,8 @@ my $update_vm_api = sub {
|
|||||||
|
|
||||||
my @paramarr = (); # used for log message
|
my @paramarr = (); # used for log message
|
||||||
foreach my $key (keys %$param) {
|
foreach my $key (keys %$param) {
|
||||||
if ($key eq 'description') {
|
|
||||||
push @paramarr, "-$key", PVE::Tools::encode_text($param->{$key});
|
|
||||||
} else {
|
|
||||||
push @paramarr, "-$key", $param->{$key};
|
push @paramarr, "-$key", $param->{$key};
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
my $skiplock = extract_param($param, 'skiplock');
|
my $skiplock = extract_param($param, 'skiplock');
|
||||||
raise_param_exc({ skiplock => "Only root may use this option." })
|
raise_param_exc({ skiplock => "Only root may use this option." })
|
||||||
|
Loading…
Reference in New Issue
Block a user