mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
Ignore irrelevant linter warning
This commit is contained in:
parent
731e6c2482
commit
42c888ee1d
2 changed files with 1 additions and 2 deletions
|
@ -458,8 +458,6 @@ func parseOptAutoHTTPS(d *caddyfile.Dispenser, _ any) (any, error) {
|
|||
case "disable_certs":
|
||||
case "ignore_loaded_certs":
|
||||
case "prefer_wildcard":
|
||||
break
|
||||
|
||||
default:
|
||||
return "", d.Errf("auto_https must be one of 'off', 'disable_redirects', 'disable_certs', 'ignore_loaded_certs', or 'prefer_wildcard'")
|
||||
}
|
||||
|
|
|
@ -1004,6 +1004,7 @@ type ECHPublisher interface {
|
|||
// PublishECHConfigListErrors is returned by ECHPublishers to describe one or more
|
||||
// errors publishing an ECH config list from PublishECHConfigList. A non-nil, empty
|
||||
// value of this type should never be returned.
|
||||
// nolint:errname // The linter wants "Error" convention, but this is a multi-error type.
|
||||
type PublishECHConfigListErrors map[string]error
|
||||
|
||||
func (p PublishECHConfigListErrors) Error() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue