Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaurax committed Sep 20, 2023
1 parent 34361d7 commit cbe7b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/outofband/action_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (h *actionHandler) pollFirmwareInstallStatus(a sw.StateSwitch, c sw.Transit
}).Debug("firmware install status query attempt")

// if BMC has been update and rebooted, no task status is available
if action.Firmware.Component == "bmc" && err == ErrTaskNotFound {
if action.Firmware.Component == "bmc" && errors.Is(err, ErrTaskNotFound) {
return nil
}

Expand Down

0 comments on commit cbe7b41

Please sign in to comment.