Fix dcorch audit_discrepancy() failure
In a Distributed Cloud system, when dcorch audit platform, it will failed at audit_discrepancy() function call. This is because sysinv audit_discrepancy() missed the 4th parameter. This update fixed this by adding it in. Change-Id: I72057b3406b4b362808d241fbc2e43bf07d7b677 Closes-Bug: 1843770 Signed-off-by: Andy Ning <andy.ning@windriver.com>
This commit is contained in:
parent
2c538b9e52
commit
4fc9543820
|
@ -1309,7 +1309,7 @@ class SysinvSyncThread(SyncThread):
|
|||
resource_type),
|
||||
extra=self.log_extra)
|
||||
|
||||
def audit_discrepancy(self, resource_type, m_resource):
|
||||
def audit_discrepancy(self, resource_type, m_resource, sc_resources):
|
||||
# Return true to try the audit_action
|
||||
if resource_type in self.SYSINV_ADD_DELETE_RESOURCES:
|
||||
# It could be that the details are different
|
||||
|
|
Loading…
Reference in New Issue