mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 14:37:44 +01:00
Signed-off-by: Steven Zou <szou@vmware.com>
This commit is contained in:
parent
5c5f763439
commit
a80969e7af
@ -42,7 +42,7 @@ type evaluator struct {
|
||||
func (e *evaluator) Process(artifacts []*res.Candidate) ([]*res.Candidate, error) {
|
||||
// The updated proposal does not guarantee the order artifacts are provided, so we have to sort them first
|
||||
sort.Slice(artifacts, func(i, j int) bool {
|
||||
return artifacts[i].PushedTime < artifacts[j].PushedTime
|
||||
return artifacts[i].PushedTime > artifacts[j].PushedTime
|
||||
})
|
||||
|
||||
i := e.k
|
||||
|
Loading…
Reference in New Issue
Block a user