mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
[Fixes: #27571] Fix 'shouldResolveWinPaths' returning 'false' on Windows
Signed-off-by: Vyacheslav Bespalov <vbespalov@ptsecurity.com>
This commit is contained in:
@@ -6,7 +6,8 @@ import (
|
||||
)
|
||||
|
||||
func shouldResolveWinPaths() bool {
|
||||
return machine.HostType() == "wsl"
|
||||
hostType := machine.HostType()
|
||||
return hostType == machine.Wsl || hostType == machine.HyperV
|
||||
}
|
||||
|
||||
func shouldResolveUnixWinVariant(path string) bool {
|
||||
|
||||
Reference in New Issue
Block a user