Remove the unnecessary pv_list assign during LVM object init
The pv_list of LVM object actually wanted to be a list of dict of physical volumes' info, but in the routine of creating a new vg, we assign a list of physical volumes' name to it, which is unnecessary, and also confuse people. Change-Id: I5f74200e6df954258f261a30e9f5a5b56c6def2f
This commit is contained in:
parent
effd16e33e
commit
c1bd361b93
@ -82,8 +82,6 @@ class LVM(executor.Executor):
|
||||
'LVM_SYSTEM_DIR=' + lvm_sys_dir]
|
||||
|
||||
if create_vg and physical_volumes is not None:
|
||||
self.pv_list = physical_volumes
|
||||
|
||||
try:
|
||||
self._create_vg(physical_volumes)
|
||||
except putils.ProcessExecutionError as err:
|
||||
|
Loading…
x
Reference in New Issue
Block a user