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:
Andy Ning 2019-09-12 13:26:42 -04:00
parent 2c538b9e52
commit 4fc9543820
1 changed files with 1 additions and 1 deletions

View File

@ -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