diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-09-30 16:42:45 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-10-01 13:30:46 +0200 |
commit | 686b7ef7bf5b60c50b45307d548518c9709da87e (patch) | |
tree | a0c9249e9bc97393aaead117afd9d51302fc91b6 /libpod/events.go | |
parent | 1da364783dace3480ba1a142326aff2a644f19a8 (diff) | |
download | podman-686b7ef7bf5b60c50b45307d548518c9709da87e.tar.gz podman-686b7ef7bf5b60c50b45307d548518c9709da87e.tar.bz2 podman-686b7ef7bf5b60c50b45307d548518c9709da87e.zip |
pkg/specgen: cache image in generator
To prevent expensive redundant lookups and inspects on the same image,
cache the image in the generator. Note that once a given image has been
inspected, subsequent calls will use the libimage-internal cache.
[NO TESTS NEEDED] since it is no functional change.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'libpod/events.go')
0 files changed, 0 insertions, 0 deletions