This is basically the same as https://bugs.launchpad.net/subiquity/+bug/1962205.
The fix that we did there only works if the client calls POST /storage/guided and not when the client calls GET /storage
if choice is not None:
coro = self.endpoint.guided.POST(choice)
else:
coro = self.endpoint.GET()
This is basically the same as https:/ /bugs.launchpad .net/subiquity/ +bug/1962205.
The fix that we did there only works if the client calls POST /storage/guided and not when the client calls GET /storage
if choice is not None: guided. POST(choice)
coro = self.endpoint.
else:
coro = self.endpoint.GET()