summaryrefslogtreecommitdiff
path: root/libpod/boltdb_state.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-02-16 18:16:26 -0500
committerMatthew Heon <mheon@redhat.com>2020-02-17 16:28:36 -0500
commit40fa7e99317a32046fec2442b61dc524f63e52cd (patch)
tree22f3474ae97ce14adf2e7a8643759cbd5d3a0312 /libpod/boltdb_state.go
parent92dbcb8841abae35658e5da1bf6eddee7669ea75 (diff)
downloadpodman-40fa7e99317a32046fec2442b61dc524f63e52cd.tar.gz
podman-40fa7e99317a32046fec2442b61dc524f63e52cd.tar.bz2
podman-40fa7e99317a32046fec2442b61dc524f63e52cd.zip
Use cleaned destination path for indexing image volumes
We use filepath.Clean() to remove trailing slashes to ensure that when we supercede image mounts with mounts from --volume and --mount, paths are consistent when we compare. Unfortunately, while we used the cleaned path for the destination in the mount, it was accidentally not used to index the maps that we use to identify what to supercede, so our comparisons might be thrown off by trailing slashes and similar. Fixes #5219 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/boltdb_state.go')
0 files changed, 0 insertions, 0 deletions