Skip to content
Snippets Groups Projects
Commit d9039658 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

Fix a bug introduced by resolving a conflict


In _GenerateDiskTemplate() we make use of params variable in case
of ExtStorage. Hotplug code conflicts here.

Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 2ccfc35a
No related branches found
No related tags found
No related merge requests found
......@@ -9151,7 +9151,7 @@ def _GenerateDiskTemplate(lu, template_name, instance_name, primary_node,
logical_id=logical_id_fn(idx, disk_index, disk),
iv_name="disk/%d" % disk_index,
mode=disk[constants.IDISK_MODE],
params={})
params=params)
if lu.op.hotplug:
disk_obj.idx = _GetHotplugIndex(lu, 'disks')
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment