From c13e17d0d4f775d2009ce8ab7cdc3eee37cc4144 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 29 Oct 2015 17:44:17 +0100 Subject: [PATCH] Revert "fix bug 790: encode description before writing to syslog" This reverts commit 9ac5db408db2dc2380add3090bdd9e04f97e576c. This is now fixed by a change in PVE::Cluster::log_msg(). --- PVE/API2/Qemu.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 6439feea..3f16bcd3 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -789,11 +789,7 @@ my $update_vm_api = sub { my @paramarr = (); # used for log message 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');