Skip to content

Commit

Permalink
Change STATE_DB key (PCIE_STATUS|PCIE_DEVICES -> PCIE_DEVICES) (sonic…
Browse files Browse the repository at this point in the history
…-net#93)

Signed-off-by: Petro Bratash <petrox.bratash@intel.com>
  • Loading branch information
bratashX committed Sep 15, 2020
1 parent a6c0071 commit e1842b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonic-pcied/scripts/pcied
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e1842b2

Please sign in to comment.