If user tries to get notification details before masakari-engine taskflow
driver add progress details of the first task of the recovery workflow,
it's giving Keyerror: 'progress_details'.
Fixed the issue by checking progress_details is available in the meta.
If it's not present, then get notification details will return empty list
of recovery_workflow_details.
Reviewed: https:/ /review. openstack. org/642462 /git.openstack. org/cgit/ openstack/ masakari/ commit/ ?id=f2343ef09cf 2cdd54a2239c12a 28ba90104a2bab
Committed: https:/
Submitter: Zuul
Branch: master
commit f2343ef09cf2cdd 54a2239c12a28ba 90104a2bab
Author: shilpa <email address hidden>
Date: Mon Mar 11 14:22:59 2019 +0530
Handle KeyError: 'progress_details'
If user tries to get notification details before masakari-engine taskflow
driver add progress details of the first task of the recovery workflow,
it's giving Keyerror: 'progress_details'.
Fixed the issue by checking progress_details is available in the meta. workflow_ details.
If it's not present, then get notification details will return empty list
of recovery_
Change-Id: I79af240d771571 8b424695253ee45 2dc9552607d
Closes-Bug: #1819422