From 5da66fd65fef91ac23cd3951cdf513881a238acd Mon Sep 17 00:00:00 2001 From: Deep Debroy Date: Sat, 27 Oct 2018 00:31:16 -0700 Subject: [PATCH] Address code review comments Signed-off-by: Deep Debroy --- pkg/kubelet/kubelet_pods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kubelet_pods.go b/pkg/kubelet/kubelet_pods.go index 5a429108ffb..eb519c3f380 100644 --- a/pkg/kubelet/kubelet_pods.go +++ b/pkg/kubelet/kubelet_pods.go @@ -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