Skip to content

Commit

Permalink
fix func name to add connection to mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
Italo Valcy committed Nov 12, 2024
1 parent 4f0c787 commit 45f2c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdx_controller/handlers/connection_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ 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(
self.db_instance.add_key_value_pair_to_db(
"connections", connection["id"], json.dumps(connection)
)

Expand Down

0 comments on commit 45f2c21

Please sign in to comment.