Skip to content

Commit

Permalink
Merge pull request #1948 from zaneb/ppimg-status-equal
Browse files Browse the repository at this point in the history
🐛 Fix update check in PreprovisioningImage controller
  • Loading branch information
metal3-io-bot authored Sep 20, 2024
2 parents 28011c7 + 6dcb051 commit 4c9d853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/metal3.io/preprovisioningimage_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func setImage(generation int64, status *metal3api.PreprovisioningImageStatus, im
metal3api.ConditionImageError, metav1.ConditionFalse,
time, reason, "")

changed := !apiequality.Semantic.DeepEqual(status, &newStatus)
changed := !apiequality.Semantic.DeepEqual(status, newStatus)
*status = *newStatus
return changed
}
Expand Down

0 comments on commit 4c9d853

Please sign in to comment.