mirror of
https://github.com/caddyserver/caddy.git
synced 2025-04-19 02:28:48 +08:00
Ignore false positive from prealloc linter
This commit is contained in:
parent
e312b56588
commit
9b1bba849d
@ -84,7 +84,7 @@ func (ech *ECH) Provision(ctx caddy.Context) ([]string, error) {
|
||||
}
|
||||
}()
|
||||
|
||||
var outerNames []string
|
||||
var outerNames []string //nolint:prealloc // (FALSE POSITIVE - see https://github.com/alexkohler/prealloc/issues/30)
|
||||
|
||||
// start by loading all the existing configs (even the older ones on the way out,
|
||||
// since some clients may still be using them if they haven't yet picked up on the
|
||||
|
Loading…
x
Reference in New Issue
Block a user