From b8470a3989a9a5879011af23c4711c137eb77aaa Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 23 May 2017 17:31:57 +0200 Subject: [PATCH] + fix hyperv plugin scvmmvmstatus mode --- apps/hyperv/2012/local/mode/scvmmvmstatus.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/hyperv/2012/local/mode/scvmmvmstatus.pm b/apps/hyperv/2012/local/mode/scvmmvmstatus.pm index 6563b126a..4161a6fcb 100644 --- a/apps/hyperv/2012/local/mode/scvmmvmstatus.pm +++ b/apps/hyperv/2012/local/mode/scvmmvmstatus.pm @@ -188,7 +188,8 @@ sub manage_selection { } } - $self->{vm}->{$id} = { display => $values{vm}, vm => $values{vm}, status => $values{status}, hostgroup => $values{hostgroup} }; + $self->{vm}->{$id} = { display => $values{vm}, vm => $values{vm}, status => $values{status}, hostgroup => $values{hostgroup} } + if ($filtered == 0); $id++; }