1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

Appease the linter

This commit is contained in:
Matthew Holt 2022-03-04 20:26:37 -07:00
parent 2bb8550a4c
commit be82cc7aca
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -550,7 +550,7 @@ func finishSettingUp(ctx Context, cfg *Config) error {
return fmt.Errorf("loading dynamic config from %T: %v", val, err)
}
// do this in a goroutine so current config can finish being loaded; otherwise deadlock
go runLoadedConfig(loadedConfig)
go func() { _ = runLoadedConfig(loadedConfig) }()
}
}