refactor(service): visually break down the move function a bit

This commit is contained in:
Houkime 2024-03-13 12:48:11 +00:00
parent fed5735b24
commit 8c8c9a51cc

View file

@ -377,8 +377,10 @@ class Service(ABC):
with StoppedService(self):
report_progress(9, job, "Stopped service, starting the move...")
self.do_move_to_volume(volume, job)
report_progress(98, job, "Move complete, rebuilding...")
rebuild_system(job, upgrade=False)
Jobs.update(
job=job,
status=JobStatus.FINISHED,