Skip to content
Snippets Groups Projects
Commit 8c2d770c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix breakage introduced by fa6dd6bb


Forgot “enumerate”.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 0356a13d
No related branches found
No related tags found
No related merge requests found
......@@ -8942,7 +8942,7 @@ def _RemoveDisks(lu, instance, target_node=None):
logging.info("Removing block devices for instance %s", instance.name)
 
all_result = True
for (idx, device) in instance.disks:
for (idx, device) in enumerate(instance.disks):
if target_node:
edata = [(target_node, device)]
else:
......
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