mirror of https://github.com/containers/podman.git
Merge pull request #10489 from vrothberg/fix-data-race
create libimage-events channel in main routine
This commit is contained in:
commit
4f4a440afd
|
|
@ -715,9 +715,8 @@ func (r *Runtime) libimageEvents() {
|
||||||
return status
|
return status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eventChannel := r.libimageRuntime.EventChannel()
|
||||||
go func() {
|
go func() {
|
||||||
eventChannel := r.libimageRuntime.EventChannel()
|
|
||||||
|
|
||||||
for {
|
for {
|
||||||
// Make sure to read and write all events before
|
// Make sure to read and write all events before
|
||||||
// checking if we're about to shutdown.
|
// checking if we're about to shutdown.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue