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

Updates in-use volume clone error message #1275

Merged

Conversation

venilnoronha
Copy link
Contributor

Description

Displays the Volume and VM name in the error message on cloning an in-use Volume. Refer #1273 for additional information.

Test

docker volume create --driver=vsphere --name=v1-clone -o clone-from=v1 now displays:

Error response from daemon: create v1-clone: VolumeDriver.Create: Source volume v1 is in use by VM ubuntu-VM1.2 and can't be cloned.

Please review and merge.

Thanks,
Venil

Copy link
Contributor

@shaominchen shaominchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@pdhamdhere pdhamdhere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pdhamdhere pdhamdhere merged commit 4fe0bc3 into vmware-archive:master May 18, 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.

4 participants