From 6e452ac6dc480300780768bc6b7586a9abc0a854 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Mon, 12 Aug 2019 02:23:48 +0200 Subject: [PATCH] Plugin lxc: remove fieldname compatibility attempt with double underscores The attempt of compatibility (introduced in c0fe6dc3c) did not work, since the previous implementation *replaced* the first character (if it was invalid - e.g. a digit) instead of prepending an underscore. --- plugins/lxc/lxc_guests | 86 +++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 44 deletions(-) diff --git a/plugins/lxc/lxc_guests b/plugins/lxc/lxc_guests index 6d42bedb..0b201a3d 100755 --- a/plugins/lxc/lxc_guests +++ b/plugins/lxc/lxc_guests @@ -57,8 +57,6 @@ container. Tested on Debian buster and Debian jessie. -The double __ for values is for compatibility -with the previous implementation. =head1 AUTHOR @@ -209,9 +207,9 @@ EOF for cpu_usage in user system do cat <