Remove warning
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
9712bbc854
commit
b5ae3c055b
@ -347,7 +347,6 @@ var importAnalyzeCmd = &cli.Command{
|
|||||||
}
|
}
|
||||||
if len(expensiveInvocs) > 4*invocsKeep {
|
if len(expensiveInvocs) > 4*invocsKeep {
|
||||||
sort.Slice(expensiveInvocs, func(i, j int) bool {
|
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
|
return expensiveInvocs[i].Invoc.Duration > expensiveInvocs[j].Invoc.Duration
|
||||||
})
|
})
|
||||||
leastExpensiveInvoc = expensiveInvocs[len(expensiveInvocs)-1].Invoc.Duration
|
leastExpensiveInvoc = expensiveInvocs[len(expensiveInvocs)-1].Invoc.Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user