mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Fix #826
This commit is contained in:
parent
9fa71c2f66
commit
82d7f78673
@ -201,8 +201,8 @@ sub manage_selection {
|
|||||||
my $result = $options{custom}->get_attributes(request => $self->{request}, nothing_quit => 1);
|
my $result = $options{custom}->get_attributes(request => $self->{request}, nothing_quit => 1);
|
||||||
|
|
||||||
$self->{mem} = {};
|
$self->{mem} = {};
|
||||||
foreach my $key (keys %$result) {
|
foreach my $key (keys %$result) {
|
||||||
$key =~ /name=(.*?),type/;
|
$key =~ /(?:[:,])name=(.*?)(?:,|$)/;
|
||||||
my $memtype = $1;
|
my $memtype = $1;
|
||||||
|
|
||||||
if (!defined($mapping_memory{$memtype})) {
|
if (!defined($mapping_memory{$memtype})) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user