mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
indent error flow
indent error flow
This commit is contained in:
parent
4492337dbf
commit
21f9ac0e7e
@ -401,9 +401,8 @@ func (ev byLastUsedAndDetected) Less(i, j int) bool {
|
||||
// Sort by last used, break ties by detected.
|
||||
if ev[i].lastUsed.Equal(ev[j].lastUsed) {
|
||||
return ev[i].firstDetected.Before(ev[j].firstDetected)
|
||||
} else {
|
||||
return ev[i].lastUsed.Before(ev[j].lastUsed)
|
||||
}
|
||||
return ev[i].lastUsed.Before(ev[j].lastUsed)
|
||||
}
|
||||
|
||||
func isImageUsed(imageID string, imagesInUse sets.String) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user