Fix typos

Change-Id: I3586cec83d90c77c57daf68fa0077efccafd96ac
diff --git a/TestON/tests/HAsingleInstanceRestart/HAsingleInstanceRestart.py b/TestON/tests/HAsingleInstanceRestart/HAsingleInstanceRestart.py
index a2602d1..19cc462 100644
--- a/TestON/tests/HAsingleInstanceRestart/HAsingleInstanceRestart.py
+++ b/TestON/tests/HAsingleInstanceRestart/HAsingleInstanceRestart.py
@@ -2020,7 +2020,7 @@
         for candidates in newAllCandidates:
             if set( candidates ) != set( newCandidates ):
                 newLeaderResult = main.FALSE
-                main.error.log( "Discrepancy in candidate lists detected" )
+                main.log.error( "Discrepancy in candidate lists detected" )
 
         # Check that the new leader is not the older leader, which was withdrawn
         if newLeader == oldLeader:
@@ -2105,7 +2105,7 @@
         for candidates in newAllCandidates:
             if set( candidates ) != set( newCandidates ):
                 newLeaderResult = main.FALSE
-                main.error.log( "Discrepancy in candidate lists detected" )
+                main.log.error( "Discrepancy in candidate lists detected" )
 
         # Check that the re-elected node is last on the candidate List
         if oldLeader != newCandidates[ -1 ]: