From e1842b2dff481735ab42a7b0fd5594c24b7018e9 Mon Sep 17 00:00:00 2001 From: Petro Bratash <68950226+bratashX@users.noreply.github.com> Date: Wed, 16 Sep 2020 01:22:15 +0300 Subject: [PATCH] Change STATE_DB key (PCIE_STATUS|PCIE_DEVICES -> PCIE_DEVICES) (#93) Signed-off-by: Petro Bratash --- sonic-pcied/scripts/pcied | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-pcied/scripts/pcied b/sonic-pcied/scripts/pcied index 646bb771c82a..31312dd4cf75 100644 --- a/sonic-pcied/scripts/pcied +++ b/sonic-pcied/scripts/pcied @@ -78,10 +78,10 @@ class DaemonPcied(DaemonBase): err += 1 if err: - self.update_state_db("PCIE_STATUS|", "PCIE_DEVICES", "FAILED") + self.update_state_db("PCIE_DEVICES", "status", "FAILED") self.log_error("PCIe device status check : FAILED") else: - self.update_state_db("PCIE_STATUS|", "PCIE_DEVICES", "PASSED") + self.update_state_db("PCIE_DEVICES", "status", "PASSED") self.log_info("PCIe device status check : PASSED") def read_state_db(self, key1, key2):