2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-10 21:40:14 +00:00

Merge pull request #4842 from gurevichmark/openbmc_reventlog_led_case

Make reventlog resolved=LED case insensitive
This commit is contained in:
Victor Hu
2018-03-01 14:33:48 -05:00
committed by GitHub

View File

@@ -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=(.+)/) {