Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virt.volume_infos fix for single VM #52414

Merged
merged 1 commit into from
Apr 19, 2019
Merged

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented Apr 4, 2019

What does this PR do?

_get_domain returns a domain object when only one VM has been found.
virt.volume_infos needs to take care of it or it will fail to list the
volumes informations if the host in such a case.

What issues does this PR fix or reference?

None

Previous Behavior

Call virt.volume_infos on a virtual host with only one VM defined. The call fails.

New Behavior

Call virt.volume_infos on a virtual host with only one VM defined. The volumes info are listed.

Tests written?

Yes

Commits signed with GPG?

Yes

_get_domain returns a domain object when only one VM has been found.
virt.volume_infos needs to take care of it or it will fail to list the
volumes informations if the host in such a case.
@cbosdo
Copy link
Contributor Author

cbosdo commented Apr 8, 2019

@rallytime This PR is ready for review

@dwoz dwoz merged commit af7917c into saltstack:develop Apr 19, 2019
@cbosdo cbosdo deleted the volume_infos_fix branch April 19, 2019 09:59
@cbosdo
Copy link
Contributor Author

cbosdo commented Oct 30, 2019

@Akm0d the master-port label can now be changed to has master-port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants