summaryrefslogtreecommitdiff
path: root/libpod/image/parts_test.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2018-07-28 05:29:43 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-01 18:22:59 +0000
commitbf0ab88eacf6b390b6fe6bda74cbb38bbc82a1a9 (patch)
tree15c21c65c9260df8b0fcb105e27d7f370d75e766 /libpod/image/parts_test.go
parentdae620066284c4c8c35d73941dfecdbc00a2b1b6 (diff)
downloadpodman-bf0ab88eacf6b390b6fe6bda74cbb38bbc82a1a9.tar.gz
podman-bf0ab88eacf6b390b6fe6bda74cbb38bbc82a1a9.tar.bz2
podman-bf0ab88eacf6b390b6fe6bda74cbb38bbc82a1a9.zip
Use []pullRefPair instead of []*pullRefPair
We are passing the values, don't really need the pointer sharing semantics, and the structures are small enough, and the arrays short enough, that we very likely lose on the indirect accesses more than we save on quicker copying of the slices when extending them. Value semantics is safer anyway. Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1176 Approved by: rhatdan
Diffstat (limited to 'libpod/image/parts_test.go')
0 files changed, 0 insertions, 0 deletions