Merge pull request #1414 from ogayot/fix-ubuntu-pro-not-configured

ubuntu-pro: fixed model not being marked configured on LTS
This commit is contained in:
Olivier Gayot 2022-09-12 17:33:19 +02:00 committed by GitHub
commit 3aee57f6d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()