From 1fee6948307cc078b08eaab116831cc49add0994 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 19 May 2020 12:01:44 +0200 Subject: [PATCH] fix dell me4 --- storage/dell/me4/restapi/mode/interfaces.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/dell/me4/restapi/mode/interfaces.pm b/storage/dell/me4/restapi/mode/interfaces.pm index 714266d48..04b624119 100644 --- a/storage/dell/me4/restapi/mode/interfaces.pm +++ b/storage/dell/me4/restapi/mode/interfaces.pm @@ -211,7 +211,7 @@ sub manage_selection { } foreach (@{$result_logical_interfaces->{'sas-host-phy-statistics'}}) { - next if ($self->{ports}->{ $_->{port} }); + next if (!defined($self->{ports}->{ $_->{port} })); $self->{ports}->{ $_->{port} }->{interfaces}->{ $_->{phy} } = { display => $_->{phy},