linter: upgraded to golangci-lint 1.18.0, fixed or suppressed warnings

This commit is contained in:
Jarek Kowalski committed 2019-09-11 06:42:08 -07:00
1 parent 93eb4530ef
commit 0654e30b26
10 files changed
+186 -181

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ func outputManifestGroups(ctx context.Context, rep *repo.Repository, manifests [
return nil
}
//nolint:gocyclo
//nolint:gocyclo,funlen
func outputManifestFromSingleSource(ctx context.Context, rep *repo.Repository, manifests []*snapshot.Manifest, parts []string) error {
var count int
var lastTotalFileSize int64