mirror of https://github.com/k3s-io/k3s
Address code review comments
Signed-off-by: Deep Debroy <ddebroy@docker.com>pull/58/head
parent
119e2a1d43
commit
5da66fd65f
|
@ -216,7 +216,7 @@ func makeMounts(pod *v1.Pod, podDir string, container *v1.Container, hostName, h
|
|||
|
||||
// Docker Volume Mounts fail on Windows if it is not of the form C:/
|
||||
if volumeutil.IsWindowsLocalPath(runtime.GOOS, hostPath) {
|
||||
hostPath = "c:" + hostPath
|
||||
hostPath = volumeutil.MakeAbsolutePath(runtime.GOOS, hostPath)
|
||||
}
|
||||
|
||||
containerPath := mount.MountPath
|
||||
|
|
Loading…
Reference in New Issue