From 18e35d5604497bedfdb18810105e1c5eec2de502 Mon Sep 17 00:00:00 2001 From: Chris Blum Date: Thu, 9 Apr 2020 15:51:02 +0200 Subject: [PATCH] Fix server log output when listing worker count --- server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index a900510..704c07e 100644 --- a/server/main.go +++ b/server/main.go @@ -118,7 +118,7 @@ func scheduleTests(config common.Testconf) { WorkerID: fmt.Sprintf("w%d", worker), } workerConnection := <-readyWorkers - log.WithField("Worker", (*workerConnection).RemoteAddr()).Infof("We found worker %d / %d for test %d", worker, test.Workers, testNumber) + log.WithField("Worker", (*workerConnection).RemoteAddr()).Infof("We found worker %d / %d for test %d", worker+1, test.Workers, testNumber) go executeTestOnWorker(workerConnection, workerConfig, doneChannel, continueWorkers) } for worker := 0; worker < test.Workers; worker++ {