fix bug 4433: chvm CN add_physlots= returns "Can not get hypervisor information"

This commit is contained in:
ertaozh 2015-02-14 22:21:53 -05:00
parent 884b1fdac9
commit 9a5301f985

View File

@ -928,7 +928,7 @@ sub do_op_extra_cmds {
}
if (@query_array) {
my $rethash = query_cec_info_actions($request, $name, $d, 1, \@query_array);
unless (scalar keys(%$memhash)) {
unless (scalar keys(%$rethash)) {
push @values, [$mtms, "Can not get hypervisor information", 1];
next;
}