automation-tests/cmd/podman/system
Nalin Dahyabhai c46884aa93 `podman events`: check for an error after we finish reading events
The function that's handing us events will return an error after closing
the channel over which it's sending events, and its caller (in its own
goroutine) will then send that error over another channel.

The logic that started the goroutine is likely to notice that the events
channel is closed before noticing that the error channel has a result
for it to read, so any error that would have been communicated would be
lost.

When we finish reading events, check if the reader returned an error
before telling our caller that there was no error.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-14 13:18:51 -04:00
..
connection Replace golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02:00
connection.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
context.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
df.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
dial_stdio.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
events.go `podman events`: check for an error after we finish reading events 2024-05-14 13:18:51 -04:00
info.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
locks.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
migrate.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
prune.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
renumber.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
reset.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
reset_machine.go Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
reset_machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
service.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
service_abi.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
service_abi_common.go system service: split out cgroups call into linux specific file 2023-12-07 11:26:36 +01:00
service_abi_linux.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
system.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
unshare.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
version.go Bump Go module to v5 2024-02-08 09:35:39 -05:00