mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 14:10:12 +01:00
Go-lint clean-up
This commit is contained in:
parent
4ba21639a0
commit
cc1efc20e2
3 changed files with 7 additions and 6 deletions
|
|
@ -5,7 +5,8 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
// Sort containers by Created date
|
||||
// ByCreated allows a list of Container structs to be sorted by the container's
|
||||
// created date.
|
||||
type ByCreated []Container
|
||||
|
||||
func (c ByCreated) Len() int { return len(c) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue