@marcel91200 / caddy Mirror · read-only / commits / 42c888ee
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 22:15 UTC

Ignore irrelevant linter warning

Matthew Holt committed Aug 4, 2025 at 16:28 UTC 42c888ee1d1eeec0211b4e09a14bf3584abfe30f
2 files changed +1 -2
caddyconfig/httpcaddyfile/options.go
-2
@@ -458,8 +458,6 @@ func parseOptAutoHTTPS(d *caddyfile.Dispenser, _ any) (any, error) {
458 case "disable_certs":
459 case "ignore_loaded_certs":
460 case "prefer_wildcard":
461 - break
462 -
461 default:
462 return "", d.Errf("auto_https must be one of 'off', 'disable_redirects', 'disable_certs', 'ignore_loaded_certs', or 'prefer_wildcard'")
463 }
modules/caddytls/ech.go
+1
@@ -1004,6 +1004,7 @@ type ECHPublisher interface {
1004 // PublishECHConfigListErrors is returned by ECHPublishers to describe one or more
1005 // errors publishing an ECH config list from PublishECHConfigList. A non-nil, empty
1006 // value of this type should never be returned.
1007 +// nolint:errname // The linter wants "Error" convention, but this is a multi-error type.
1008 type PublishECHConfigListErrors map[string]error
1009
1010 func (p PublishECHConfigListErrors) Error() string {