Merge "Fix DB archiver AttributeError due to wrong table name attribute used" into stable/pike
This commit is contained in:
commit
8676f39469
@ -6385,7 +6385,7 @@ def _archive_if_instance_deleted(table, shadow_table, instances, conn,
|
||||
return result_delete.rowcount
|
||||
except db_exc.DBReferenceError as ex:
|
||||
LOG.warning('Failed to archive %(table)s: %(error)s',
|
||||
{'table': table.__tablename__,
|
||||
{'table': table.name,
|
||||
'error': six.text_type(ex)})
|
||||
return 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user