Commit ae549364 authored by Guido Trotter's avatar Guido Trotter
Browse files

Add debugging clause to _ExpandCheckDisks error



This has been reported by users, so we should have the extra debugging
available.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent d187780c
......@@ -7056,7 +7056,8 @@ def _ExpandCheckDisks(instance, disks):
else:
if not set(disks).issubset(instance.disks):
raise errors.ProgrammerError("Can only act on disks belonging to the"
" target instance")
" target instance: expected a subset of %r,"
" got %r" % (instance.disks, disks))
return disks
 
 
......
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