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>
Wed, 14 Aug 2013 12:19:24 +0000 (14:19 +0200)
commit6e755f9ee9c55647c3f7f67329340ae56348c4cb
tree911a65acb8493d20d8823c4f923cdaec633dc6c1
parent570b632200d040d73e7af11d4b15b30e32fb92d6
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