summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordheerajd-msys <dheeraj.dubey@msystechnologies.com>2018-05-18 19:21:04 +0530
committerdheerajd-msys <dheeraj.dubey@msystechnologies.com>2018-06-08 17:55:54 +0530
commitbafefdb3ba5e38cef8d58fa83f487befa0c78752 (patch)
treea344bde79f7e7ccd7a50b17372afcd1a4290f169
parent7124b8cf1ab63cef731b1943c6d8dad2fe131469 (diff)
downloadchef-bafefdb3ba5e38cef8d58fa83f487befa0c78752.tar.gz
MSYS-807 fix mount point error windows
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
-rw-r--r--lib/chef/provider/mount/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/mount/windows.rb b/lib/chef/provider/mount/windows.rb
index 1bd932729d..d4afa8702b 100644
--- a/lib/chef/provider/mount/windows.rb
+++ b/lib/chef/provider/mount/windows.rb
@@ -42,7 +42,7 @@ class Chef
if is_volume(@new_resource.device)
@mount = Chef::Util::Windows::Volume.new(@new_resource.name)
else #assume network drive
- @mount = Chef::Util::Windows::NetUse.new(@new_resource.name)
+ @mount = Chef::Util::Windows::NetUse.new(@new_resource.mount_point)
end
@current_resource = Chef::Resource::Mount.new(@new_resource.name)