Fix IPolicy violation check in LUGroupSetParams
authorThomas Thrainer <thomasth@google.com>
Tue, 13 Aug 2013 09:54:52 +0000 (11:54 +0200)
committerThomas Thrainer <thomasth@google.com>
Tue, 13 Aug 2013 12:33:26 +0000 (14:33 +0200)
commitbbe0f2643095766bcc3bc136022d05ccbbaf9524
tree3042f62a5abaea27ea65cfac62ca1102aaeb3066
parent183974893708891cf8444a0ed191cd15214a017f
Fix IPolicy violation check in LUGroupSetParams

cfg.GetMultiInstanceInfoByName returns a list of tuples, not a list of
instance objects which is required by ComputeNewInstanceViolations.
This patch fixes this type error.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib/group.py