mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-24 08:37:55 +00:00
The function `IsPathAvailableOnMachine` was returning the wrong target path (the path of the file mounted inside the machine) when the provider was HyperV and the mounted drive wasn't `C:`. For example here: https://api.cirrus-ci.com/v1/task/5212355623124992/logs/main.log The host path `Z:\\podman_test3139230807\\...\\host-ca-certs.pem` was converted as guest path `/mnt/c/podman_test3139230807/.../host-ca-certs.pem` although `Z:\` was mounted to `/mnt/z` rather than `/mnt/c`. We have fixed this behavior and added a few unit tests. Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com> |
||
|---|---|---|
| .. | ||
| types.go | ||
| utils.go | ||
| utils_test.go | ||
| utils_unsupported.go | ||
| utils_windows_test.go | ||