diff options
| author | Francis Lavoie <lavofr@gmail.com> | 2022-08-02 16:39:09 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-02 16:39:09 -0400 | 
| commit | 141872ed80d6323505e7543628c259fdae8506d3 (patch) | |
| tree | 53581cddf2fcce189c3a55019194b64b0cd3af13 /caddyconfig/httpcaddyfile/tlsapp.go | |
| parent | db1aa5b5bc174e5a5df39a277f737b304e1e2350 (diff) | |
chore: Bump up to Go 1.19, minimum 1.18 (#4925)
Diffstat (limited to 'caddyconfig/httpcaddyfile/tlsapp.go')
| -rw-r--r-- | caddyconfig/httpcaddyfile/tlsapp.go | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/caddyconfig/httpcaddyfile/tlsapp.go b/caddyconfig/httpcaddyfile/tlsapp.go index 40ea47d..32c1747 100644 --- a/caddyconfig/httpcaddyfile/tlsapp.go +++ b/caddyconfig/httpcaddyfile/tlsapp.go @@ -33,7 +33,7 @@ import (  func (st ServerType) buildTLSApp(  	pairings []sbAddrAssociation, -	options map[string]interface{}, +	options map[string]any,  	warnings []caddyconfig.Warning,  ) (*caddytls.TLS, []caddyconfig.Warning, error) { @@ -420,7 +420,7 @@ func (st ServerType) buildTLSApp(  type acmeCapable interface{ GetACMEIssuer() *caddytls.ACMEIssuer } -func fillInGlobalACMEDefaults(issuer certmagic.Issuer, options map[string]interface{}) error { +func fillInGlobalACMEDefaults(issuer certmagic.Issuer, options map[string]any) error {  	acmeWrapper, ok := issuer.(acmeCapable)  	if !ok {  		return nil @@ -467,7 +467,7 @@ func fillInGlobalACMEDefaults(issuer certmagic.Issuer, options map[string]interf  // for any other automation policies. A nil policy (and no error) will be  // returned if there are no default/global options. However, if always is  // true, a non-nil value will always be returned (unless there is an error). -func newBaseAutomationPolicy(options map[string]interface{}, warnings []caddyconfig.Warning, always bool) (*caddytls.AutomationPolicy, error) { +func newBaseAutomationPolicy(options map[string]any, warnings []caddyconfig.Warning, always bool) (*caddytls.AutomationPolicy, error) {  	issuers, hasIssuers := options["cert_issuer"]  	_, hasLocalCerts := options["local_certs"]  	keyType, hasKeyType := options["key_type"] | 
