Loading src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py +2 −2 Original line number Diff line number Diff line Loading @@ -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', []) Loading Loading
src/pathcomp/frontend/service/algorithms/KDisjointPathAlgorithm.py +2 −2 Original line number Diff line number Diff line Loading @@ -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', []) Loading