Quick fix in 'Set Auto Reboot' keyword
Change-Id: I387e171da525bbb04c97be6422028e8122822aec
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index ad413fa..fa977bd 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -681,7 +681,7 @@
# Description of argument(s):
# setting The reboot setting, 1 for enabling and 0 for disabling.
- ${valueDict}= Set Variable ${setting}
+ ${valueDict}= Convert To Integer ${setting}
${data}= Create Dictionary data=${valueDict}
Write Attribute ${CONTROL_HOST_URI}/auto_reboot AutoReboot data=${data}
${current_setting}= Get Auto Reboot