fix status f5 pool

This commit is contained in:
qgarnier 2017-06-07 17:07:00 +02:00
parent f5ff0d90d2
commit 0309f37131
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ sub manage_selection {
} }
$self->{pool}->{$_}->{ltmPoolStatServerCurConns} = $result2->{ltmPoolStatServerCurConns}; $self->{pool}->{$_}->{ltmPoolStatServerCurConns} = $result2->{ltmPoolStatServerCurConns};
$result->{StatusReason} = '-' if (!defined($result->{StatusReason}) || $result->{StatusReason} eq ''); $result->{StatusReason} = '-' if (!defined($result->{StatusReason}) || $result->{StatusReason} eq '');
foreach my $name (keys %{$mapping->{$map}}) { foreach my $name (keys %$result) {
$self->{pool}->{$_}->{$name} = $result->{$name}; $self->{pool}->{$_}->{$name} = $result->{$name};
} }
} }