Ignore deleting callout path if requested for deletion

Resolves  openbmc/openbmc-test-automation#771

Change-Id: If5878f1b419ac76e2cae2f291d46741d524dcaa7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index b71eaa7..7006eac 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -949,6 +949,10 @@
     # entry_path  Delete an error log entry.
     #             Ex. /xyz/openbmc_project/logging/entry/1
 
+    # Skip delete if entry URI is a callout.
+    # Example: /xyz/openbmc_project/logging/entry/1/callout
+    Return From Keyword If  '${entry_path.rsplit('/', 1)[1]}' == 'callout'
+
     ${data}=  Create Dictionary  data=@{EMPTY}
     ${resp}=  Openbmc Delete Request  ${entry_path}  data=${data}
     Should Be Equal As Strings  ${resp.status_code}  ${HTTP_OK}