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:
parent
de148289aa
commit
f50b5c0057
|
@ -88,6 +88,9 @@ class DriversController(SubiquityController):
|
||||||
log.debug("Available drivers to install: %s", self.drivers)
|
log.debug("Available drivers to install: %s", self.drivers)
|
||||||
if not self.drivers:
|
if not self.drivers:
|
||||||
await self.configured()
|
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:
|
async def GET(self, wait: bool = False) -> DriversResponse:
|
||||||
if wait:
|
if wait:
|
||||||
|
|
Loading…
Reference in New Issue