2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-08-01 00:57:38 +00:00

Restore nodegroup iteration in rest api

This commit is contained in:
Jarrod Johnson
2014-02-13 16:26:52 -05:00
parent 4ed91e06dc
commit b75b959bf4

View File

@@ -166,7 +166,7 @@ def handle_path(path, operation, configmanager, inputdata=None):
return enumerate_collections(rootcollections)
elif pathcomponents[0] == 'nodegroup':
try:
pass # group = pathcomponents[1]
group = pathcomponents[1]
except IndexError:
return iterate_collections(configmanager.get_groups())
elif pathcomponents[0] in ('node', 'system', 'vm'):