diff options
author | Qi Wang <qiwan@redhat.com> | 2020-12-04 11:00:02 -0500 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-12-04 13:16:16 -0500 |
commit | d2f6f153ea394ac366f52acd4591e590fc1599c4 (patch) | |
tree | 72bcc01bba8b832cf97be22f319b224474c08357 /pkg/domain/entities/events.go | |
parent | ec0411aecd74f5d604ded102e562541f5bd01a98 (diff) | |
download | podman-d2f6f153ea394ac366f52acd4591e590fc1599c4.tar.gz podman-d2f6f153ea394ac366f52acd4591e590fc1599c4.tar.bz2 podman-d2f6f153ea394ac366f52acd4591e590fc1599c4.zip |
Close image rawSource when each loop ends
Previously close rawSouce in the middle makes future use of rawSource invalid.
Move the rawSource.Close() to the end of each loop.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/domain/entities/events.go')
0 files changed, 0 insertions, 0 deletions