Skip to content

Commit

Permalink
Caddyfile support for TLS connection policy:
Browse files Browse the repository at this point in the history
- try to fix linter failure
  • Loading branch information
vnxme committed Jul 24, 2024
1 parent 42b0b7b commit 4c0920c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/caddytls/connpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,8 @@ func (cp *ConnectionPolicy) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
return d.ArgErr()
}

var (
hasCertSelection, hasClientAuth, hasDefaultSNI, hasDrop,
var hasCertSelection, hasClientAuth, hasDefaultSNI, hasDrop,
hasFallbackSNI, hasInsecureSecretsLog, hasMatch, hasProtocols bool
)
for nesting := d.Nesting(); d.NextBlock(nesting); {
optionName := d.Val()
switch optionName {
Expand Down

0 comments on commit 4c0920c

Please # to comment.