mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-30 18:48:39 -04:00
deps: update golangci/golangci-lint to v1.62.2 (#3511)
* deps: update golangci/golangci-lint to v1.62.2 * deps: tidy all modules * chore: align with new golangci-lint rules golangci-lint added some linters in this version upgrade that require fixes on our side. These are done in this commit. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com> Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
b652baa9c2
commit
53ae065329
9 changed files with 47 additions and 45 deletions
|
@ -111,8 +111,8 @@ func (i *List) SortReverse() {
|
|||
}
|
||||
|
||||
// AddVersion adds new to i's list and sorts the element in descending order.
|
||||
func (i *List) AddVersion(new string) {
|
||||
i.List = append(i.List, new)
|
||||
func (i *List) AddVersion(ver string) {
|
||||
i.List = append(i.List, ver)
|
||||
i.List = variant.RemoveDuplicate(i.List)
|
||||
|
||||
i.SortReverse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue