Skip to content
Snippets Groups Projects
Commit a00c756c authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

PathComp component - Frontend:

- Corrected KDisjointPath response generation
parent 1e1de1fc
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!78Fix CI/CD pipeline
......@@ -194,9 +194,9 @@ class KDisjointPathAlgorithm(_Algorithm):
no_path_issue = response.get('noPath', {}).get('issue')
if no_path_issue is not None: continue
path_endpoints = response['path'][0]['devices']
path_endpoints = response['path'][0]
json_reply_service.append(path_endpoints)
algorithm.link_list = self.remove_traversed_links(algorithm.link_list, path_endpoints)
algorithm.link_list = self.remove_traversed_links(algorithm.link_list, path_endpoints['devices'])
self.json_reply = dict()
response_list = self.json_reply.setdefault('response-list', [])
......
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