chore(deps): update golangci-lint to v2.8.0 (minor) #671
Annotations
6 errors
|
Lint (ubuntu-latest)
Process completed with exit code 1.
|
|
Lint (ubuntu-latest):
internal/retention/policy.go#L130
Consider preallocating toDelete with capacity len(hourlyFiles.toDelete) + len(dailyFiles.toDelete) + len(weeklyFiles.toDelete) + len(monthlyFiles.toDelete) + len(yearlyFiles.toDelete) + len(yearlyFiles.unselected) (prealloc)
|
|
Lint (macos-latest)
Process completed with exit code 1.
|
|
Lint (macos-latest):
internal/retention/policy.go#L130
Consider preallocating toDelete with capacity len(hourlyFiles.toDelete) + len(dailyFiles.toDelete) + len(weeklyFiles.toDelete) + len(monthlyFiles.toDelete) + len(yearlyFiles.toDelete) + len(yearlyFiles.unselected) (prealloc)
|
|
Lint (windows-latest)
Process completed with exit code 1.
|
|
Lint (windows-latest):
internal/retention/policy.go#L130
Consider preallocating toDelete with capacity len(hourlyFiles.toDelete) + len(dailyFiles.toDelete) + len(weeklyFiles.toDelete) + len(monthlyFiles.toDelete) + len(yearlyFiles.toDelete) + len(yearlyFiles.unselected) (prealloc)
|