2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 01:53:28 +00:00

Correct some incorrectly renamed entries

This commit is contained in:
Jarrod Johnson 2014-07-25 14:45:02 -04:00
parent 19451d69fb
commit 1fb8b33c06

View File

@ -729,9 +729,9 @@ class ConfigManager(object):
# if the attribute is not set, this will search for a candidate
# if it is set, but inheritedfrom, search for a replacement, just
# in case
if not 'nodegroups' in nodecfg:
if not 'groups' in nodecfg:
return
for group in nodecfg['nodegroups']:
for group in nodecfg['groups']:
if attrib in self._cfgstore['nodegroups'][group]:
if srcgroup is not None and group != srcgroup:
# skip needless deepcopy