Skip to content

Commit

Permalink
Merge pull request #1350 from dbungert/lp-1974077
Browse files Browse the repository at this point in the history
client: fix autoinstall crash on endpoint_name
  • Loading branch information
dbungert committed Jul 13, 2022
2 parents 05fdc80 + 4446448 commit d514221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subiquity/client/client.py
Expand Up @@ -468,7 +468,7 @@ def select_initial_screen(self):
async def _select_initial_screen(self, index):
endpoint_names = []
for c in self.controllers.instances[:index]:
if c.endpoint_name:
if getattr(c, 'endpoint_name', None) is not None:
endpoint_names.append(c.endpoint_name)
if endpoint_names:
await self.client.meta.mark_configured.POST(endpoint_names)
Expand Down

0 comments on commit d514221

Please sign in to comment.