2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-09 05:00:45 +00:00

Properly reflect results as collections/directories

This commit is contained in:
Jarrod Johnson
2017-10-02 16:56:52 -04:00
parent e95b5da8b7
commit eb70b21573
@@ -247,7 +247,7 @@ def list_info(parms, requestedparameter):
continue
if parms['by-' + mk] == info[mk] and requestedparameter in info:
results.add(info[requestedparameter])
return [msg.ChildCollection(x) for x in util.natural_sort(results)]
return [msg.ChildCollection(x + '/') for x in util.natural_sort(results)]
def _handle_neighbor_query(pathcomponents, configmanager, list_switches):
choices, parms, listrequested, childcoll = _parameterize_path(