Skip to content

Commit

Permalink
Do not duplicate service_id when listing connections
Browse files Browse the repository at this point in the history
  • Loading branch information
congwang09 committed Oct 18, 2024
1 parent ad705e8 commit 866066c
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] = get_connection_status(db_instance, service_id)
return_values[service_id] = get_connection_status(db_instance, service_id)[service_id]
return return_values


Expand Down

0 comments on commit 866066c

Please sign in to comment.