This patch series fixes a bug preventing users from adding disks using
the new index-based syntax. As the bug was caused by the code being
structured badly, it does so through a bit of refactoring. Unit tests
are present as well.

Hrvoje Ribicic (4):
  Refactor disk_provider checks into helper function
  Group disk provider checks with other mod checks
  Group all the disk modification checks together
  Improve tests for adding and modifying disks

 lib/cmdlib/instance_set_params.py   | 60 +++++++++--------------------
 lib/cmdlib/instance_storage.py      | 41 +++++++++++++-------
 test/py/cmdlib/instance_unittest.py | 76 +++++++++++++++++++++++++++++++------
 test/py/testutils/config_mock.py    |  6 +++
 4 files changed, 115 insertions(+), 68 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c

Reply via email to