make: dockerize linter

This commit is contained in:
sputn1ck 2022-05-20 08:56:21 +02:00
parent 1741896e33
commit f0bf9302cc
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
7 changed files with 1615 additions and 16 deletions

View file

@ -314,7 +314,7 @@ func (s *swapClientServer) Monitor(in *clientrpc.MonitorRequest,
}
// Concatenate both sets.
filteredSwaps := append(pendingSwaps, completedSwaps...)
filteredSwaps := append(pendingSwaps, completedSwaps...) // nolint: gocritic
// Sort again, but this time old to new.
sort.Slice(filteredSwaps, func(i, j int) bool {