Fix generation for app.yml v2

This commit is contained in:
Aaron Dewes 2022-02-11 20:29:09 +01:00
parent 689b27bb1b
commit 4eab1ee699

View File

@ -15,8 +15,6 @@ def getMainContainer(app: App) -> Container:
if len(app.containers) == 1:
return app.containers[0]
else:
if not app.metadata.mainContainer:
app.metadata.mainContainer = 'main'
for container in app.containers:
# Main is recommended, support web for easier porting from Umbrel
if container.name == 'main' or container.name == 'web':