diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-09-29 13:42:23 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-09-29 14:24:11 +0200 |
commit | ccff77025c4ef6907c91c42cf84e1c92b65716ba (patch) | |
tree | 0aa4e39b2fe46a23d02edc4b0fb461bf6e4d9f95 /vendor/github.com/klauspost/compress | |
parent | 5ea369adef6115702eb2d2e483d7c552d15a7c04 (diff) | |
download | podman-ccff77025c4ef6907c91c42cf84e1c92b65716ba.tar.gz podman-ccff77025c4ef6907c91c42cf84e1c92b65716ba.tar.bz2 podman-ccff77025c4ef6907c91c42cf84e1c92b65716ba.zip |
libpod: container create: init variable: do not deep copy spec
Do not create an expensive deep copy for the provided spec.Spec
when creating a container. No API should be expected to create
deep copies of arguments unless explicitly documented.
This removes the last call to JSONDeepCopy in a simple
`podman run --rm -d busybox true`.
[NO TESTS NEEDED]
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/klauspost/compress')
0 files changed, 0 insertions, 0 deletions