Skip to content

Commit

Permalink
Revert changes to FirmwareScvValidator class
Browse files Browse the repository at this point in the history
  • Loading branch information
chubtub committed Sep 12, 2024
1 parent 329bca3 commit 59f038c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ public static AppraisalStatus validateFirmware(
// In this case, try to look up the event log associated with the device, then get the base rim associated by event log hash
List<ReferenceManifest> deviceRims = referenceManifestRepository.findByDeviceName(hostName);
for (ReferenceManifest deviceRim : deviceRims) {
if (deviceRim instanceof BaseReferenceManifest &&
!deviceRim.isSwidSupplemental() &&
!deviceRim.isSwidPatch() &&
!deviceRim.isArchived()) {
if (deviceRim instanceof BaseReferenceManifest && !deviceRim.isSwidSupplemental() && !deviceRim.isSwidPatch()) {
baseReferenceManifest = (BaseReferenceManifest) deviceRim;
}

Expand Down

0 comments on commit 59f038c

Please sign in to comment.