podman/libpod/network
Paul Holzinger 8452b768ec Fix problems reported by staticcheck
`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>
2021-01-12 16:11:09 +01:00
..
config.go Fix custom mac address with a custom cni network 2020-11-24 15:16:23 +01:00
create.go Validate that the bridge option is supported 2020-12-01 22:33:16 +01:00
create_test.go Spelling 2020-12-22 13:34:31 -05:00
devices.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
files.go Add support for network ids 2020-12-02 10:27:00 +01:00
ip.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
lock.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
netconflist.go Fix problems reported by staticcheck 2021-01-12 16:11:09 +01:00
netconflist_test.go Always add the default gateway to the cni config file 2020-12-16 20:59:45 +01:00
network.go Add support for network ids 2020-12-02 10:27:00 +01:00
network_test.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
subnet.go Fix ip-range for classless subnet masks 2020-11-23 11:55:29 +01:00
subnet_test.go Fix ip-range for classless subnet masks 2020-11-23 11:55:29 +01:00