+ Fix indent
This commit is contained in:
parent
9026fa9f5a
commit
27f6d37c44
|
@ -102,7 +102,7 @@ sub build_values {
|
|||
#if ($options{current} =~ /^$oid_inputs\.(.*)/) {
|
||||
if ($options{current} =~ /^$oid\.(.*)/) {
|
||||
$instance = $1;
|
||||
#$instance =~ s/1\.1\.3\.//g;
|
||||
#$instance =~ s/1\.1\.3\.//g;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ sub build_values {
|
|||
$self->{instances_done}->{$instance} = 1;
|
||||
$self->{counters_value}->{$instance} = {};
|
||||
foreach my $oid (keys %oids) {
|
||||
my $full_oid = $oid . '.' . $instance;
|
||||
my $full_oid = $oid . '.' . $instance;
|
||||
$self->{counters_value}->{$instance}->{$oids{$oid}->{counter}} = defined($options{result}->{$oid . '.' . $instance}) ? $options{result}->{$oid . '.' . $instance} : 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue