mirror of https://github.com/mikaku/Monitorix.git
fixed in 'libvirt.pm' to hide empty groups
This commit is contained in:
parent
d6082b02bf
commit
c0356b9571
1
Changes
1
Changes
|
@ -3,6 +3,7 @@ N.N.N - DD-MMM-2015
|
|||
- Added the option 'cmd' in 'libvirt.pm' in order to be able to execute a
|
||||
custom command like 'virsh -r -c qemu:///session'.
|
||||
- Fixed in 'libvirt.pm' limiting to 100 all CPU values greater than 100.
|
||||
- Fixed in 'libvirt.pm' to hide empty groups.
|
||||
|
||||
|
||||
3.8.1 - 13-Nov-2015
|
||||
|
|
|
@ -417,6 +417,9 @@ sub libvirt_cgi {
|
|||
foreach my $vmg (sort keys %{$libvirt->{list}}) {
|
||||
my @lvl = split(',', $libvirt->{list}->{$vmg});
|
||||
|
||||
# hide empty groups
|
||||
next if !scalar(@lvl);
|
||||
|
||||
if($e) {
|
||||
print(" <br>\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue