Closed govint closed 6 years ago
Thanks to @shuklanirdesh82 and @ashahi1 for the Windows VM set up, verified the fix on Windows:
Check the volume names used for the two containers, PS C:\Users\root> docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5d03844ef3fd microsoft/nanoserver "powershell" 11 minutes ago Up 11 minutes condescending_colden 7dd53858f664 microsoft/nanoserver "powershell" 15 minutes ago Up 14 minutes loving_torvalds
"Mounts": [
{
"Type": "volume",
"Name": "cvol1@vsandatastore", <------------
"Source": "C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\docker-volume-vsphere\\mounts\\cvol1@vs
anDatastore\", "Destination": "c:\vol", "Driver": "vsphere", "Mode": "", "RW": true, "Propagation": "" } ],
And the second container,
"Mounts": [
{
"Type": "volume",
"Name": "cvol1", <----------------
"Source": "C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\docker-volume-vsphere\\mounts\\cvol1@vs
anDatastore\", "Destination": "c:\vol", "Driver": "vsphere", "Mode": "", "RW": true, "Propagation": "" } ],
@shuklanirdesh82, do I merge the change, for some reason CI isn't showing up for this PR.
Modified plugin_utils:GetVolumeInfo() to handle case sensitivity for windows platform. This is not tested yet for the windows platform yet.