From d552ca476f88d15b93951a4aee92914b775098ea Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 3 Nov 2020 11:10:13 +0100 Subject: [PATCH] Fix #92 --- connectors/vmware/src/centreon/vmware/cmddiscovery.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectors/vmware/src/centreon/vmware/cmddiscovery.pm b/connectors/vmware/src/centreon/vmware/cmddiscovery.pm index 24877eda8..91d71880d 100644 --- a/connectors/vmware/src/centreon/vmware/cmddiscovery.pm +++ b/connectors/vmware/src/centreon/vmware/cmddiscovery.pm @@ -153,7 +153,7 @@ sub run { foreach my $vm (@{$vms}) { next if ($vm->{'config.template'} eq 'true'); - next if (!defined($vm->{uuid}) || $vm->{uuid} eq ''); + next if (!defined($vm->{'config.uuid'}) || $vm->{'config.uuid'} eq ''); my $entry; $entry->{type} = 'vm';