mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-03 11:22:45 +02:00
core/ci: update linting (#4844)
* core/ci: update linting * re-add exportloopref * re-add gocheckcompilerdirectives * re-add stylecheck * re-add usestdlibvars * upgrade lint --------- Co-authored-by: Denis Mishin <dmishin@pomerium.com>
This commit is contained in:
parent
b66634d1e6
commit
a2fd95aae6
30 changed files with 132 additions and 214 deletions
|
@ -59,7 +59,6 @@ type AutocertOptions struct {
|
|||
|
||||
// Validate ensures the Options fields are valid, and hydrated.
|
||||
func (o *AutocertOptions) Validate() error {
|
||||
|
||||
// validate ACME EAB settings
|
||||
if o.EABKeyID != "" && o.EABMACKey == "" {
|
||||
return errors.New("config: Autocert EAB MAC Key required when Key ID is provided")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue