Merge "Fix referencing to the raid_device var which is not set"
This commit is contained in:
commit
62041d6d9e
@ -2926,7 +2926,7 @@ class GenericHardwareManager(HardwareManager):
|
|||||||
except processutils.ProcessExecutionError as e:
|
except processutils.ProcessExecutionError as e:
|
||||||
LOG.warning('Failed to remove superblock from'
|
LOG.warning('Failed to remove superblock from'
|
||||||
'%(device)s: %(err)s',
|
'%(device)s: %(err)s',
|
||||||
{'device': raid_device.name, 'err': e})
|
{'device': blk.name, 'err': e})
|
||||||
|
|
||||||
# Erase all partition tables we created
|
# Erase all partition tables we created
|
||||||
all_holder_disks_uniq = list(
|
all_holder_disks_uniq = list(
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes referencing to raid_device variable before assignment,
|
||||||
|
is replaced by blk variable.
|
Loading…
x
Reference in New Issue
Block a user