Преглед изворни кода

functional-tester: fix log statement

simple fix for wrongly printed statement.
fanmin shi пре 9 година
родитељ
комит
34c906be55
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 			}
 			}