-
Notifications
You must be signed in to change notification settings - Fork 95
Adds support for whitespace chars in Datastore names on Windows #1745
Adds support for whitespace chars in Datastore names on Windows #1745
Conversation
This commit adds handling to correctly map volumes with whitespace characters in its name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the fix is OK but please do add automated test. We have volume name checking automation in unit tests, so just add a line or two there with volumes with spaces.
51ac031
to
b1c05ec
Compare
b1c05ec
to
50c5d67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Please update the specifics of manual testing. Through workflows like docker volume create and docker run.
Always convincing to see the command outputs.
@pshahzeb thanks! I've updated the test details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok, although could add test logs for problem cases and show how the fix is working fine to handle those.
This commit adds handling to correctly map volumes with whitespace characters in its name.
This PR adds handling to correctly map volumes with whitespace characters in its name. Testing was done manually i.e. a volume was created with
docker volume create --driver=vsphere "newvolume@local .3 - 0"
, and attached withdocker run -it -v "newvolume@local .3 - 0:C:/mountpoint/" microsoft/nanoserver powershell
, and the following log was observed.See #1724 for original issue.