Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
golangci-lint: temporarily disable G115: integer overflow conversion
it produces many hits, some of which may be false positives, but we need to look into these, e.g.; container/container.go:517:72: G115: integer overflow conversion int -> uint32 (gosec) shouldRestart, _, _ := container.RestartManager().ShouldRestart(uint32(container.ExitCode()), container.HasBeenManuallyStopped, container.FinishedAt.Sub(container.StartedAt)) ^ container/view.go:401:25: G115: integer overflow conversion int -> uint16 (gosec) PrivatePort: uint16(p), ^ container/view.go:413:25: G115: integer overflow conversion int -> uint16 (gosec) PrivatePort: uint16(p), ^ container/view.go:414:25: G115: integer overflow conversion int -> uint16 (gosec) PublicPort: uint16(h), ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit f5108e9) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information