Explorar o código

CTS: fix syntax error in log message

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld %!s(int64=15) %!d(string=hai) anos
pai
achega
6ed7c36c95
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cts/corotests.py

+ 1 - 1
cts/corotests.py

@@ -907,7 +907,7 @@ class VoteQuorumGoDown(VoteQuorumBase):
                 self.failure('unexpected number of expected_votes')
 
             if state.total_votes != nodes_alive:
-                self.failure('unexpected number of total votes:%d, nodes_alive:%d', (state.total_votes, nodes_alive))
+                self.failure('unexpected number of total votes:%d, nodes_alive:%d' % (state.total_votes, nodes_alive))
 
             min = ((len(self.CM.Env["nodes"]) + 2) / 2)
             if min != state.quorum: