Ignore false positive from prealloc linter

This commit is contained in:
Matthew Holt 2025-03-05 16:15:25 -07:00
parent e312b56588
commit 9b1bba849d
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5

View File

@ -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