From 50421f2bfda50f6f0ff95f592368e4334db02f91 Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Mon, 26 Jan 2015 16:46:02 +0100 Subject: [PATCH] Typo fix for netapp --- storage/netapp/mode/snapshotage.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/netapp/mode/snapshotage.pm b/storage/netapp/mode/snapshotage.pm index 081290254..c64e105b0 100644 --- a/storage/netapp/mode/snapshotage.pm +++ b/storage/netapp/mode/snapshotage.pm @@ -114,7 +114,7 @@ sub run { $self->{snmp} = $options{snmp}; $self->manage_selection(); - $self->{snmp}->load(oids => [$oid_slvName, $oid_slvMonth,$oid_slvDay,$oid_slvHour,$oid_slvMinutes,$oid_slvVolumeName], + $self->{snmp}->load(oids => [$oid_slvName, $oid_slvMonth, $oid_slvDay, $oid_slvHour, $oid_slvMinutes, $oid_slvVolumeName], instances => $self->{snapshot_id_selected}, instance_regexp => '(\d+\.\d+)$'); my $result = $self->{snmp}->get_leef(); @@ -124,7 +124,7 @@ sub run { short_msg => 'All snapshot age are ok.'); } - my $count=0; + my $count = 0; my $now = time(); foreach my $instance (sort @{$self->{snapshot_id_selected}}) { $count++;