Get isPasswordSet when getting app
All checks were successful
Unittests / unittests (push) Successful in 8s
Unittests / deploy-dev (push) Successful in 41s

This commit is contained in:
Adam Štrauch 2024-05-25 16:23:10 +02:00
parent 5f80da8cbd
commit 088b6bdcf6
Signed by: cx
GPG Key ID: 7262DAFE292BCE20

View File

@ -174,6 +174,12 @@ func (p *Processor) Get(noUpdate bool) (apps.App, error) {
AppsPath: p.AppsPath, AppsPath: p.AppsPath,
} }
isPasswordSet, err := container.IsPasswordSet()
if err != nil {
return app, err
}
app.IsPasswordSet = isPasswordSet
status, err := container.Status() status, err := container.Status()
if err != nil { if err != nil {
return app, err return app, err