From 96a34d972fbfea9500b436746826e7bc5bcd541f Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 22 Feb 2018 14:15:39 -0500 Subject: [PATCH] Make reventlog resplved=LED case insensitive --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 7587f4fb2..02fc8598a 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -1581,7 +1581,7 @@ sub parse_command_status { if ($subcommand eq "clear") { $next_status{LOGIN_RESPONSE} = "REVENTLOG_CLEAR_REQUEST"; $next_status{REVENTLOG_CLEAR_REQUEST} = "REVENTLOG_CLEAR_RESPONSE"; - } elsif ($subcommand =~ /resolved=LED/) { + } elsif (uc($subcommand) =~ /RESOLVED=LED/) { $next_status{LOGIN_RESPONSE} = "REVENTLOG_REQUEST"; $next_status{REVENTLOG_REQUEST} = "REVENTLOG_RESOLVED_RESPONSE_LED"; } elsif ($subcommand =~ /resolved=(.+)/) {