From 0498c694427d6336ff55034feca665bf6e483916 Mon Sep 17 00:00:00 2001 From: Kebo Liu Date: Thu, 23 Jan 2020 02:11:20 +0800 Subject: [PATCH] fix missing DOM threshold info from DB (#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 --- sonic-xcvrd/scripts/xcvrd | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-xcvrd/scripts/xcvrd b/sonic-xcvrd/scripts/xcvrd index 52ec217048e1..2513397e8689 100644 --- a/sonic-xcvrd/scripts/xcvrd +++ b/sonic-xcvrd/scripts/xcvrd @@ -663,6 +663,7 @@ class dom_info_update_task: logical_port_list = platform_sfputil.logical for logical_port_name in logical_port_list: post_port_dom_info_to_db(logical_port_name, dom_tbl, self.task_stopping_event) + post_port_dom_threshold_info_to_db(logical_port_name, dom_tbl, self.task_stopping_event) logger.log_info("Stop DOM monitoring loop")