diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-09-19 11:09:59 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-09-19 11:09:59 -0400 |
commit | 720d8c9e3f22dbc9acac814625de31df9196cb46 (patch) | |
tree | 74d6a82dcf1111bc3dcc8e92fe7c932632d06b27 /libpod/runtime.go | |
parent | 408f2780a1dd94f99fe36be4573a9887e6c74cf7 (diff) | |
download | podman-720d8c9e3f22dbc9acac814625de31df9196cb46.tar.gz podman-720d8c9e3f22dbc9acac814625de31df9196cb46.tar.bz2 podman-720d8c9e3f22dbc9acac814625de31df9196cb46.zip |
Clean destination paths during mount generation
We identify and resolve conflicts in paths using destination path
matches. We require exact matches, largely for performance
reasons (we use maps to efficiently access, keyed by
destination). This usually works fine, until you get mounts that
are targetted at /output and /output/ - the same path, but not
the same string.
Use filepath.Clean() aggressively to try and solve this.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/runtime.go')
0 files changed, 0 insertions, 0 deletions