Merge pull request #1260 from ogayot/LP1968161

storage: log reason for not updating the screen after probing finishes
This commit is contained in:
Dan Bungert 2022-04-07 12:13:14 -06:00 committed by GitHub
commit 2df8d4ee86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ class FilesystemController(SubiquityTuiController, FilesystemManipulator):
status = await self.endpoint.guided.GET(wait=True)
if isinstance(self.ui.body, SlowProbing):
self.ui.set_body(self.make_guided_ui(status))
else:
log.debug("not refreshing the display. Current display is %r",
self.ui.body)
def make_guided_ui(self, status):
if status.status == ProbeStatus.FAILED: