Get Valid FRUs: ${fru_records}= Filter Struct
Fix to Get Valid FRUs to set fru_records to the value returned by Filter
Struct.
Change-Id: I5a32ec3736e9a79cf95bad93cb2d3af039ff85b8
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/bmc_redfish_utils.robot b/lib/bmc_redfish_utils.robot
index b7ea8f4..ff24182 100644
--- a/lib/bmc_redfish_utils.robot
+++ b/lib/bmc_redfish_utils.robot
@@ -84,7 +84,7 @@
${fru_records}= Redfish_Utils.Enumerate Request
... /redfish/v1/Systems/system/${fru_type} return_json=0
- Filter Struct ${fru_records} [('State', 'Enabled'), ('Health', 'OK')]
+ ${fru_records}= Filter Struct ${fru_records} [('State', 'Enabled'), ('Health', 'OK')]
[Return] ${fru_records}