Skip to content

Commit

Permalink
Merge pull request #110 from atlanticwave-sdx/fix/issue_102
Browse files Browse the repository at this point in the history
Change ingress_port and egress_port with uni_a and uni_z respectively
  • Loading branch information
italovalcy authored Apr 3, 2024
2 parents 63c2c50 + 1be79eb commit ffe52a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger_server/messaging/topic_queue_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def handle_mq_msg(self, msg_body):
if is_json(msg_body):
self.logger.info("JSON message")
msg_json = json.loads(msg_body)
if "ingress_port" in msg_json and "egress_port" in msg_json:
if "uni_a" in msg_json and "uni_z" in msg_json:
self.logger.info("Got connection message.")
self.db_instance.add_key_value_pair_to_db(self.message_id, msg_body)
self.logger.info("Save to database complete.")
Expand Down

0 comments on commit ffe52a2

Please sign in to comment.