summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-01-18 10:27:51 -0500
committerMatthew Heon <matthew.heon@pm.me>2019-01-18 10:27:51 -0500
commitfc52b0423b67cc4a2caafc5dab48832d5bedc1ab (patch)
tree1fd428ff173e0678a821501b8e478bb7a946e7f0 /Makefile
parent7f19e5fb23b785399d49166171b6af7a34edf437 (diff)
downloadpodman-fc52b0423b67cc4a2caafc5dab48832d5bedc1ab.tar.gz
podman-fc52b0423b67cc4a2caafc5dab48832d5bedc1ab.tar.bz2
podman-fc52b0423b67cc4a2caafc5dab48832d5bedc1ab.zip
Do not unmarshal into c.config.Spec
We try to keep c.config immutable, but Go doesn't really agree with me that things other than strings and ints can be immutable, so occasionally things like this slip through. When unmarshalling the OCI spec from disk, do it into a separate struct, to ensure we don't make lasting modifications to the spec in the Container struct (which could affect container restart). Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions