Commit 610e39da authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix yet another bug in LURepairDiskSizes

This is a result of broken copy-paste, and because needed_locks is not a
dict right here it will error out.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarGuido Trotter <>
parent 4d9e6835
......@@ -1348,7 +1348,6 @@ class LURepairDiskSizes(NoHooksLU):
if full_name is None:
raise errors.OpPrereqError("Instance '%s' not known" % name)
self.needed_locks[locking.LEVEL_INSTANCE] = self.wanted_names
self.needed_locks = {
locking.LEVEL_NODE: [],
locking.LEVEL_INSTANCE: self.wanted_names,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment