ubuntu-pro: fixed model not being marked configured on LTS

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-09-12 14:44:44 +02:00
parent 3f47c469aa
commit dc272c512b
1 changed files with 3 additions and 2 deletions

View File

@ -69,9 +69,10 @@ class UbuntuProController(SubiquityTuiController):
await self.endpoint.skip.POST()
raise Skip("Not running LTS version")
# TODO remove these two lines when all dependencies for Ubuntu Pro are
# available in focal-updates.
# TODO remove these three lines when all dependencies for Ubuntu Pro
# are available in focal-updates.
if not self.app.opts.dry_run:
await self.endpoint.skip.POST()
raise Skip("Skipping Ubuntu Pro for now")
ubuntu_pro_info: UbuntuProResponse = await self.endpoint.GET()