Commit 6323e232 authored by Stephen Shirley's avatar Stephen Shirley Committed by Iustin Pop
Browse files

Fix iterating over node groups



Current line tries to unpack dict incorrectly
Signed-off-by: default avatarStephen Shirley <diamond@google.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent ec31a18f
......@@ -304,7 +304,7 @@ class Merger(object):
ConfigWriter.AddNodeGroup takes care of making sure there are no conflicts.
"""
# pylint: disable-msg=R0201
for (_, grp) in other_config.GetAllNodeGroupsInfo():
for grp in other_config.GetAllNodeGroupsInfo().values():
#TODO: handle node group conflicts
my_config.AddNodeGroup(grp, _CLUSTERMERGE_ECID)
......
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