Skip to content
Snippets Groups Projects
Commit edad646e authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

graph can be empty even if services exists. Warn user and return immediately

parent 78b0229e
No related branches found
No related tags found
No related merge requests found
......@@ -26,5 +26,9 @@ void service_graph_g(char const *alist, size_t alen, graph_t *graph, resolve_ser
service_graph_collect(graph, alist, alen, ares, areslen, info, flag) ;
if (!*areslen) {
log_warn("no services matching the requirements at tree: ", info->treename.s) ;
return ;
}
service_graph_build(graph, ares, (*areslen), flag) ;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment