From ef8bd6ac1f0e5b075fd1a39d661dce04ba83284d Mon Sep 17 00:00:00 2001 From: balandi1 Date: Wed, 13 Nov 2019 16:16:58 -0500 Subject: [PATCH] Fixed minor bug --- schedulers/schedPolicy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedulers/schedPolicy.go b/schedulers/schedPolicy.go index bd07641..1ae1b72 100644 --- a/schedulers/schedPolicy.go +++ b/schedulers/schedPolicy.go @@ -92,7 +92,7 @@ func switchTaskDistBased(baseSchedRef *BaseScheduler) string { baseSchedRef.LogClsfnAndTaskDistOverhead(time.Now().Sub(startTime)) elektronLogging.ElektronLog.Log(elekLogT.GENERAL, log.InfoLevel, - log.Fields {"Task Distribution" : fmt.Sprintf("%s",taskDist)}, "Switching... ") + log.Fields {"Task Distribution" : fmt.Sprintf("%f",taskDist)}, "Switching... ") if err != nil { // All the tasks in the window were only classified into 1 cluster. // Max-Min and Max-GreedyMins would work the same way as Bin-Packing for this situation.