"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "masakari/engine/drivers/taskflow/driver.py" between
masakari-8.0.0.tar.gz and masakari-9.0.0.tar.gz

About: OpenStack Masakari provides "Instances High Availability Service" for OpenStack clouds by automatically recovering failed Instances (currently for KVM-based Virtual Machine(VM)s).
The "Ussuri" series (latest release).

driver.py  (masakari-8.0.0):driver.py  (masakari-9.0.0)
skipping to change at line 321 skipping to change at line 321
notification) notification)
for task in task_list: for task in task_list:
for atom in atom_details: for atom in atom_details:
if task == atom.name: if task == atom.name:
od[atom.name] = atom od[atom.name] = atom
for key, value in od.items(): for key, value in od.items():
# Add progress_details only if tasks are executed and meta # Add progress_details only if tasks are executed and meta
# is available in which progress_details are stored. # is available in which progress_details are stored.
if value.meta: if value.meta and value.meta.get("progress_details"):
progress_details_obj = ( progress_details_obj = (
objects.NotificationProgressDetails.create( objects.NotificationProgressDetails.create(
value.name, value.name,
value.meta['progress'], value.meta['progress'],
value.meta['progress_details']['details'] value.meta['progress_details']['details']
['progress_details'], ['progress_details'],
value.state)) value.state))
progress_details.append(progress_details_obj) progress_details.append(progress_details_obj)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)