Browse Source

functional-tester: fix log statement

simple fix for wrongly printed statement.
fanmin shi 9 years ago
parent
commit
34c906be55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/functional-tester/etcd-tester/tester.go

+ 1 - 1
tools/functional-tester/etcd-tester/tester.go

@@ -45,7 +45,7 @@ func (tt *tester) runLoop() {
 		roundTotalCounter.Inc()
 		roundTotalCounter.Inc()
 
 
 		if err := tt.doRound(round); err != nil {
 		if err := tt.doRound(round); err != nil {
-			plog.Warningf("%s functional-tester returning with error (%v)", tt.logPrefix, err)
+			plog.Warningf("%s functional-tester returning with error (%v)", tt.logPrefix(), err)
 			if tt.cleanup() != nil {
 			if tt.cleanup() != nil {
 				return
 				return
 			}
 			}