Skip to content

Commit 7a9dfd3

Browse files
aasboddumodolaty
authored andcommitted
Revert "Add a check for hostNumber"
This reverts commit 92b496c.
1 parent 1af8151 commit 7a9dfd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redfish-core/lib/update_service.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ inline void monitorForSoftwareAvailable(
488488
}
489489
}
490490

491-
if (hostNumber == 0 || hostNumber > 2)
491+
if (hostNumber > 2)
492492
{
493493
messages::actionParameterNotSupported(
494494
asyncResp->res, std::to_string(hostNumber), "HostNumber");
@@ -1407,7 +1407,7 @@ inline void handleUpdateServiceFirmwareInventoryGet(
14071407
}
14081408
}
14091409

1410-
if (hostNumber == 0 || hostNumber > 2)
1410+
if (hostNumber > 2)
14111411
{
14121412
messages::actionParameterNotSupported(
14131413
asyncResp->res, std::to_string(hostNumber), "HostNumber");

0 commit comments

Comments
 (0)