core: Micro-optim in run() (#4810)

This commit is contained in:
Kévin Dunglas 2022-05-24 21:52:50 +02:00 committed by GitHub
parent 8e6bc36084
commit 499ad6d182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ func run(newCfg *Config, start bool) error {
// Start
err = func() error {
var started []string
started := make([]string, 0, len(newCfg.apps))
for name, a := range newCfg.apps {
err := a.Start()
if err != nil {