mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
fix(discovery): exclude vm object without uuid (not real vm)
This commit is contained in:
parent
08c1defb1f
commit
cf0d87c8bd
@ -153,6 +153,7 @@ sub run {
|
||||
|
||||
foreach my $vm (@{$vms}) {
|
||||
next if ($vm->{'config.template'} eq 'true');
|
||||
next if (!defined($vm{uuid}) || $vm{uuid} eq '');
|
||||
my %vm;
|
||||
|
||||
$vm{type} = 'vm';
|
||||
|
Loading…
x
Reference in New Issue
Block a user