Fix for depreciated Return From Keyword If keyword
Changes:
- Return From Keyword If is deprecated since
Robot Framework version 5.*, use IF and RETURN instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: I458528b33a1abe9fc750a6941e98490db9b36094
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/redfish/systems/LogServices/test_post_codes.robot b/redfish/systems/LogServices/test_post_codes.robot
index 2f4972a..0e0bcad 100644
--- a/redfish/systems/LogServices/test_post_codes.robot
+++ b/redfish/systems/LogServices/test_post_codes.robot
@@ -203,7 +203,7 @@
${last_id}= Split String ${last_id} -
${boot_count}= Set Variable ${last_id[0][1]}
- Return From Keyword ${boot_count}
+ RETURN ${boot_count}
Populate PostCode Logs Incase No Prior Entries Available