Add changes to fix REDFISH_REST_SUPPORTED not found
Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I2eae7831771250317ab09c671c89ac6aa244812f
diff --git a/lib/utils.robot b/lib/utils.robot
index 6db5861..63464a3 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -691,12 +691,13 @@
... 1=RetryAttempts
... 0=Disabled
- Run Keyword If ${REDFISH_REST_SUPPORTED} == ${TRUE}
+ Run Keyword If ${REDFISH_SUPPORTED} == ${FALSE}
+ ... Set Auto Reboot ${value}
+ ... ELSE IF ${REDFISH_REST_SUPPORTED} == ${TRUE}
... Set Auto Reboot ${value}
... ELSE
... Redfish Set Auto Reboot ${rest_redfish_dict["${value}"]}
-
Set Auto Reboot
[Documentation] Set the given auto reboot setting.
[Arguments] ${setting}