config: update logic for checking overlapping certificates (#4216) (#4217)

* config: update logic for checking overlapping certificates

* add test

* go mod tidy
This commit is contained in:
Caleb Doxsey 2023-06-01 10:13:40 -06:00 committed by GitHub
parent 4a14cab50a
commit 2803f3949c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 213 additions and 135 deletions

View file

@ -63,7 +63,7 @@ func TestAutocertOptions_Validate(t *testing.T) {
wantErr bool
cleanup func()
}
var tests = map[string]func(t *testing.T) test{
tests := map[string]func(t *testing.T) test{
"ok/custom-ca": func(t *testing.T) test {
return test{
fields: fields{