enable erasing ENVs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-05-21 16:00:22 +02:00
parent 9eb811169d
commit 744090aa9a
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

7
run.go

@ -168,6 +168,13 @@ func run() error {
a.SetupRoutes()
a.SetEchoSettings()
if err = setting.EraseENVs(); err != nil {
log.Error("failed to erase PCMT ENVs")
return err
}
log.Debug("erased PCMT ENVs")
e := a.E()
// channel used to check whether the app had troubles starting up.
started := make(chan error, 1)