diff options
author | Miloslav Trmač <mitr@redhat.com> | 2018-07-28 06:42:43 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-01 18:22:59 +0000 |
commit | dbe2395769933a53058e81386f8f7a072acd15a2 (patch) | |
tree | a90b245a29cd4eb396b472a8db883d2f4a83abed /LICENSE | |
parent | 8d73e456631ac283eb238584f963ee0df8c84973 (diff) | |
download | podman-dbe2395769933a53058e81386f8f7a072acd15a2.tar.gz podman-dbe2395769933a53058e81386f8f7a072acd15a2.tar.bz2 podman-dbe2395769933a53058e81386f8f7a072acd15a2.zip |
Do not re-parse the list of search registries just for an error message
... when we even only count them.
This eliminates a rare error case, and saves time re-reading and re-parsing
the input.
(We still compute registryPath redundantly, and it may get out of sync.)
Should not change behavior (but does not add unit tests).
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Closes: #1176
Approved by: rhatdan
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions