From b15047909776ea35b356378114174d2c5a79ea42 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 19 Feb 2020 15:10:23 +0100 Subject: [PATCH] fix eventlog --- centreon-plugins/storage/ibm/storwize/ssh/mode/eventlog.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/storage/ibm/storwize/ssh/mode/eventlog.pm b/centreon-plugins/storage/ibm/storwize/ssh/mode/eventlog.pm index c749309e2..62dd8b8ee 100644 --- a/centreon-plugins/storage/ibm/storwize/ssh/mode/eventlog.pm +++ b/centreon-plugins/storage/ibm/storwize/ssh/mode/eventlog.pm @@ -69,7 +69,7 @@ sub run { my ($self, %options) = @_; my $content = $options{custom}->execute_command(command => $self->{ls_command}); - my $result = $self->get_hasharray(content => $content, delim => ':'); + my $result = $options{custom}->get_hasharray(content => $content, delim => ':'); my ($num_eventlog_checked, $num_errors) = (0, 0); foreach (@$result) {