Remove warning

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-26 23:38:54 +02:00
parent 9712bbc854
commit b5ae3c055b
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -347,7 +347,6 @@ var importAnalyzeCmd = &cli.Command{
}
if len(expensiveInvocs) > 4*invocsKeep {
sort.Slice(expensiveInvocs, func(i, j int) bool {
log.Warnf("i: %v, j: %v", expensiveInvocs[i], expensiveInvocs[j])
return expensiveInvocs[i].Invoc.Duration > expensiveInvocs[j].Invoc.Duration
})
leastExpensiveInvoc = expensiveInvocs[len(expensiveInvocs)-1].Invoc.Duration