Make sure the drivers ctrler calls .configured until we have client ctrler

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-02-22 18:46:47 +01:00
parent de148289aa
commit f50b5c0057
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ class DriversController(SubiquityController):
log.debug("Available drivers to install: %s", self.drivers)
if not self.drivers:
await self.configured()
else:
# TODO Remove this once we have the GUI controller.
await self.POST(install=True)
async def GET(self, wait: bool = False) -> DriversResponse:
if wait: