Skip to content

Commit

Permalink
Use get_connection_status when listing connections
Browse files Browse the repository at this point in the history
  • Loading branch information
congwang09 committed Oct 16, 2024
1 parent a0813f1 commit 57a6ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdx_controller/controllers/l2vpn_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_connections(): # noqa: E501
return_values = {}
for connection in values:
service_id = next(iter(connection))
return_values[service_id] = json.loads(connection[service_id])
return_values[service_id] = get_connection_status(db_instance, service_id)
return return_values


Expand Down

0 comments on commit 57a6ae7

Please sign in to comment.