Skip to content

Commit

Permalink
Return unknown on http 500
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaurax committed Nov 10, 2023
1 parent 9dfd6c2 commit 6af875a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions providers/asrockrack/firmware.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func (a *ASRockRack) firmwareUpdateStatus(ctx context.Context, component string,
progress, err := a.flashProgress(ctx, endpoint)
if err != nil {
a.log.V(3).Error(err, "bmc query for install progress returned error: ")
return constants.FirmwareInstallUnknown, nil
}

if progress != nil {
Expand Down

0 comments on commit 6af875a

Please sign in to comment.