mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 09:25:43 +00:00
`staticcheck` is a golang code analysis tool. https://staticcheck.io/ This commit fixes a lot of problems found in our code. Common problems are: - unnecessary use of fmt.Sprintf - duplicated imports with different names - unnecessary check that a key exists before a delete call There are still a lot of reported problems in the test files but I have not looked at those. Signed-off-by: Paul Holzinger <paul.holzinger@web.de> |
||
|---|---|---|
| .. | ||
| config.go | ||
| create.go | ||
| create_test.go | ||
| devices.go | ||
| files.go | ||
| ip.go | ||
| lock.go | ||
| netconflist.go | ||
| netconflist_test.go | ||
| network.go | ||
| network_test.go | ||
| subnet.go | ||
| subnet_test.go | ||