Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LVM migrate: Use keywords for the brick instance
In the `migrate_volume` method a new instance is created when the dest_vg is not equal to the source vg. This new brick instance is created using positional arguments instead of keywords. However, some of those arguments are passed in the wrong positions. This patch uses keywords for the misplaced arguments. The patch also changes `test_lvm_migrate_volume_proceed` in order to fully test the happy path and catch things like this. Closes-bug: #1258128 Change-Id: I75cf91171709554053fd5b52a4aae4e176e8364e
- Loading branch information
Showing
2 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters