diff --git a/confluent_server/confluent/core.py b/confluent_server/confluent/core.py index 708a84ee..76b90b46 100644 --- a/confluent_server/confluent/core.py +++ b/confluent_server/confluent/core.py @@ -155,7 +155,7 @@ def handle_deployment(configmanager, inputdata, pathcomponents, if pathcomponents[1] == 'profiles': if len(pathcomponents) == 2: for prof in osimage.list_profiles(): - yield msg.ChildCollection(dist) + yield msg.ChildCollection(prof) return raise exc.NotFoundException('Unrecognized request') @@ -1078,10 +1078,6 @@ def dispatch_request(nodes, manager, element, configmanager, inputdata, yield rsp -def handle_discovery(pathcomponents, operation, configmanager, inputdata): - if pathcomponents[0] == 'detected': - pass - def handle_discovery(pathcomponents, operation, configmanager, inputdata): if pathcomponents[0] == 'detected': pass