Skip to content

Commit e1842b2

Browse files
authored
Change STATE_DB key (PCIE_STATUS|PCIE_DEVICES -> PCIE_DEVICES) (sonic-net#93)
Signed-off-by: Petro Bratash <[email protected]>
1 parent a6c0071 commit e1842b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sonic-pcied/scripts/pcied

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ class DaemonPcied(DaemonBase):
7878
err += 1
7979

8080
if err:
81-
self.update_state_db("PCIE_STATUS|", "PCIE_DEVICES", "FAILED")
81+
self.update_state_db("PCIE_DEVICES", "status", "FAILED")
8282
self.log_error("PCIe device status check : FAILED")
8383
else:
84-
self.update_state_db("PCIE_STATUS|", "PCIE_DEVICES", "PASSED")
84+
self.update_state_db("PCIE_DEVICES", "status", "PASSED")
8585
self.log_info("PCIe device status check : PASSED")
8686

8787
def read_state_db(self, key1, key2):

0 commit comments

Comments
 (0)