From 2c6101e11bc04bd65dd82e81767576c3e051d65e Mon Sep 17 00:00:00 2001 From: Flavio Cirillo Date: Wed, 18 Sep 2024 14:36:04 +0200 Subject: [PATCH] Syntax error fix --- master/master.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/master.go b/master/master.go index 4badccd4..7794e4c4 100644 --- a/master/master.go +++ b/master/master.go @@ -526,7 +526,7 @@ func (master *Master) SelectWorker(locations []Point) string { for _, worker := range master.workers { // if this worker is already overloaded, check the next one if worker.IsOverloaded() { - master.isDebugEnabled { + if master.isDebugEnabled { DEBUG.Println("Worker", worker.WID, " has reached its capacity of ", worker.Capacity, " with ", worker.Workload, " tasks running") } continue