From 8bc408dea12ab3693c7807111f46d464e24d0a7c Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Sat, 26 Aug 2017 15:43:09 -0400 Subject: [PATCH] fixed comments. Removed an old comment that no longer made sense. --- def/taskUtils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/def/taskUtils.go b/def/taskUtils.go index d36875d..bbe53d7 100644 --- a/def/taskUtils.go +++ b/def/taskUtils.go @@ -117,8 +117,6 @@ func labelAndOrder(clusters map[int][]Task, numberOfClusters int, taskObservatio // Generic Task Sorter. // Be able to sort an array of tasks based on any of the tasks' resources. - -// Retrieve a sorter (same signature as 'Less' function in sort.Interface) for the given sorting criteria. func SortTasks(ts []Task, sb sortBy) { sort.SliceStable(ts, func (i, j int) bool { return sb(&ts[i]) <= sb(&ts[j])