+ Fix indent

This commit is contained in:
garnier-quentin 2016-08-01 14:12:40 +02:00
parent 9026fa9f5a
commit 27f6d37c44
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}