Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
congwang09 committed Nov 8, 2024
1 parent f26f94b commit 4f0c787
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdx_controller/handlers/connection_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ def handle_link_failure(self, te_manager, failed_links):
logger.debug(connection)
_reason, code = self.place_connection(te_manager, connection)
if code // 100 == 2:
self.db_instance.add_key("connections", connection["id"], json.dumps(connection))
self.db_instance.add_key(
"connections", connection["id"], json.dumps(connection)
)

def get_archived_connections(self, service_id: str):
historical_connections = self.db_instance.read_from_db(
Expand Down

0 comments on commit 4f0c787

Please sign in to comment.