Few code improvements and refactoring
This commit is contained in:
parent
cb5df9acc8
commit
eaac82ceb9
8 changed files with 19 additions and 13 deletions
|
@ -109,7 +109,7 @@ func clusterSizeAvgMMMPU(tasks []Task, taskObservation func(task Task) []float64
|
|||
// skip this value
|
||||
// there is an error in the task config.
|
||||
elekLog.ElektronLog.Log(elekLogTypes.CONSOLE, log.ErrorLevel,
|
||||
log.Fields{}, fmt.Sprintf("%s", err))
|
||||
log.Fields{}, err.Error())
|
||||
}
|
||||
} else {
|
||||
// There is only one observation for the task.
|
||||
|
|
Reference in a new issue