Merge "Fixes the elapsed time logged during a live migration"

This commit is contained in:
Zuul 2021-02-25 18:56:02 +00:00 committed by Gerrit Code Review
commit ce938a4e45
1 changed files with 1 additions and 1 deletions

View File

@ -9393,7 +9393,7 @@ class LibvirtDriver(driver.ComputeDriver):
"(bytes processed=%(processed_disk)d, "
"remaining=%(remaining_disk)d, "
"total=%(total_disk)d).",
{"secs": n / 2, "remaining": remaining,
{"secs": elapsed, "remaining": remaining,
"processed_memory": info.memory_processed,
"remaining_memory": info.memory_remaining,
"total_memory": info.memory_total,