From 27f6d37c444bc2e07991acbc24685bbcd3966df4 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 1 Aug 2016 14:12:40 +0200 Subject: [PATCH] + Fix indent --- hardware/ats/apc/mode/input.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/ats/apc/mode/input.pm b/hardware/ats/apc/mode/input.pm index 1db77790d..45b6d9f64 100644 --- a/hardware/ats/apc/mode/input.pm +++ b/hardware/ats/apc/mode/input.pm @@ -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; } }