do not need to POST to /meta/client_variant any more

This commit is contained in:
Michael Hudson-Doyle 2021-08-19 16:50:45 +12:00
parent 8c83ad05cc
commit 6fd5eb6ee9
1 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class SubiquityClient(TuiApplication):
snapd_socket_path = '/run/snapd.socket'
variant = "server"
variant = None
cmdline = ['snap', 'run', 'subiquity']
dryrun_cmdline_module = 'subiquity.cmd.tui'
@ -444,6 +444,7 @@ class SubiquityClient(TuiApplication):
endpoint_names.append(c.endpoint_name)
if endpoint_names:
await self.client.meta.mark_configured.POST(endpoint_names)
if self.variant:
await self.client.meta.client_variant.POST(self.variant)
self.controllers.index = index - 1
self.next_screen()