Address code review comments

Signed-off-by: Deep Debroy <ddebroy@docker.com>
pull/58/head
Deep Debroy 2018-10-27 00:31:16 -07:00
parent 119e2a1d43
commit 5da66fd65f
1 changed files with 1 additions and 1 deletions

View File

@ -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:/ // Docker Volume Mounts fail on Windows if it is not of the form C:/
if volumeutil.IsWindowsLocalPath(runtime.GOOS, hostPath) { if volumeutil.IsWindowsLocalPath(runtime.GOOS, hostPath) {
hostPath = "c:" + hostPath hostPath = volumeutil.MakeAbsolutePath(runtime.GOOS, hostPath)
} }
containerPath := mount.MountPath containerPath := mount.MountPath