automation-tests/cmd/podman/system/connection
Eng Zer Jun f094884c1b
Remove redundant nil checks in system connection remove
From the Go specification:

  "3. If the map is nil, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[NO NEW TESTS NEEDED]

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-03 15:42:41 +08:00
..
add.go Update system connection add & remove 2023-08-09 13:37:37 -04:00
default.go Add support for podman context as alias to podman system connection 2022-09-15 08:17:15 -04:00
list.go podman machine ssh handling 2022-09-26 18:35:01 -04:00
remove.go Remove redundant nil checks in system connection remove 2023-09-03 15:42:41 +08:00
rename.go bump go module to version 4 2022-01-18 12:47:07 +01:00