The backend didn't properly set the group index, leaving to a
"corrupted" group list.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
{-
-Copyright (C) 2009, 2010 Google Inc.
+Copyright (C) 2009, 2010, 2011 Google Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
) [1..ncount]
grp = Group.create (printf "group-%02d" grpIndex)
(printf "fake-uuid-%02d" grpIndex) apol
- return (grp, nodes)
+ return (Group.setIdx grp grpIndex, nodes)
-- | Builds the cluster data from node\/instance files.
parseData :: [String] -- ^ Cluster description in text format