Feature Save As Status
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
88 89 format = disk_info.get('format') 89 90 size = disk_info.get('virtual-size') 90 91 actual_size = disk_info.get('actual-size') 91 base_name = disk_info.get('backing-filename') 92 # Check if disk has base (backing-image) 93 base_path = disk_info.get('backing-filename') 94 if base_path: 95 base_name = os.path.basename(base_path) 96 else: 97 base_name = None 98 # Based on backing image determine weather snapshot ot normal image -
Owner
☁ ☀ 🌁 ❄ -
Owner
🔢
-
-
88 89 format = disk_info.get('format') 89 90 size = disk_info.get('virtual-size') 90 91 actual_size = disk_info.get('actual-size') 91 base_name = disk_info.get('backing-filename') 92 # Check if disk has base (backing-image) 93 base_path = disk_info.get('backing-filename') 94 if base_path: -
Owner
are these conditionals required?
-
Owner
yes
-
-
281 percent = new_percent 282 if not task.is_aborted(): 283 task.update_state( 284 task_id=parent_id, 285 state=task.AsyncResult(parent_id).state, 286 meta={'size': actsize, 'percent': percent}) 287 else: 288 logger.warning( 289 "Merging new disk %s is aborted by user.", 290 new_disk.get_path()) 291 raise AbortException() 267 292 sleep(1) 268 293 except AbortException: 269 294 proc.terminate() 270 logger.warning("Aborted remove %s", new_disk.get_path()) 295 logger.warning("Aborted merge job removing %s", -
Owner
removing is aborted?
-
-
Owner
+1