Skip to content

Commit 0498c69

Browse files
keboliujleveque
authored andcommitted
fix missing DOM threshold info from DB (sonic-net#50)
function to fetch DOM threshold info "post_port_dom_threshold_info_to_db" is not called in "dom_info_update_task", so DOM threshokd info will be missing from the DB. Added call to "post_port_dom_threshold_info_to_db" signned-off-by Kebol@mellanox.com
1 parent a3e163a commit 0498c69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sonic-xcvrd/scripts/xcvrd

+1
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ class dom_info_update_task:
663663
logical_port_list = platform_sfputil.logical
664664
for logical_port_name in logical_port_list:
665665
post_port_dom_info_to_db(logical_port_name, dom_tbl, self.task_stopping_event)
666+
post_port_dom_threshold_info_to_db(logical_port_name, dom_tbl, self.task_stopping_event)
666667

667668
logger.log_info("Stop DOM monitoring loop")
668669

0 commit comments

Comments
 (0)