Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Fixes ls failure in Windows volumes #1741

Merged
merged 1 commit into from Aug 11, 2017

Conversation

venilnoronha
Copy link
Contributor

@venilnoronha venilnoronha commented Aug 10, 2017

Mounting disks at a MountPoint without a trailing slash causes weird failures on Windows. For example, after creating a volume named vol via the vDVS plugin, and running a container with docker run -it -v vol:C:/mp microsoft/nanoserver powershell, operations like ls inside C:/mp on the container fail (as shown below). This PR adds the necessary trailing slash to the response of /VolumeDriver.Path and /VolumeDriver.Get APIs.

ls failure

Testing was done manually.

This commit fixes ls operation failure inside Windows volumes.
@venilnoronha venilnoronha merged commit e5fdf51 into vmware-archive:master Aug 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants