Simplify conductor methods logic
Method takes to much parameters which are examined on non-equality -
def update_backup(self, context, instance_id, backup_id,
#some logic skipped
if backup_id != backup.id:
return
if instance_id != backup.instance_id:
return
The easiest way to do next:
def update_backup(self, context, backup_id,
backup = bkup_models.
for k, v in backup_
if hasattr(backup, k):
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Simplify conductor methods logic
** WORK WAS ABANDONED.. WE WILL NOT DO THIS ** [hub_cap]