summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-27 03:20:25 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-01 18:22:58 +0000
commit0ef38ba07971ea9921a98353789fdb5655e65c10 (patch)
tree33f5e7ce88ccdfa2cd5fbc9fccf3e6d3fcab9b52 /.github
parentecc1db39b53e0566aed7de7192db916cf44a9fcb (diff)
downloadpodman-0ef38ba07971ea9921a98353789fdb5655e65c10.tar.gz
podman-0ef38ba07971ea9921a98353789fdb5655e65c10.tar.bz2
podman-0ef38ba07971ea9921a98353789fdb5655e65c10.zip
Return early in refNamesFromImageReference instead of appending to pullNames
Almost all paths appended to pullNames exactly once; just construct a single-element array in place and return it. That way we can add empty lines as separators, and still come out shorter. Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1176 Approved by: rhatdan
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions