Skip to content

Commit

Permalink
Fix FimwareConfigMatchCondition if firmware doestn't match
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kolodiazhnyi <[email protected]>
  • Loading branch information
e0ne committed Oct 25, 2024
1 parent f04e3ea commit 7d563df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/devicediscovery_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func setFwConfigConditionsForDevice(device *v1alpha1.NicDevice, recommendedFirmw
default:
condition := metav1.Condition{
Type: consts.FimwareConfigMatchCondition,
Status: metav1.ConditionUnknown,
Status: metav1.ConditionFalse,
Reason: consts.DeviceFwMismatchReason,
Message: fmt.Sprintf("Device firmware '%s' doesn't match to recommended version '%s'", currentFirmware, recommendedFirmware),
}
Expand Down

0 comments on commit 7d563df

Please sign in to comment.