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 /modules/caddytls/automation.go | |
| parent | db1aa5b5bc174e5a5df39a277f737b304e1e2350 (diff) | |
chore: Bump up to Go 1.19, minimum 1.18 (#4925)
Diffstat (limited to 'modules/caddytls/automation.go')
| -rw-r--r-- | modules/caddytls/automation.go | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/modules/caddytls/automation.go b/modules/caddytls/automation.go index 197c409..ee168b4 100644 --- a/modules/caddytls/automation.go +++ b/modules/caddytls/automation.go @@ -198,7 +198,7 @@ func (ap *AutomationPolicy) Provision(tlsApp *TLS) error {  		if err != nil {  			return fmt.Errorf("loading external certificate manager modules: %v", err)  		} -		for _, getCertVal := range vals.([]interface{}) { +		for _, getCertVal := range vals.([]any) {  			ap.Managers = append(ap.Managers, getCertVal.(certmagic.Manager))  		}  	} @@ -209,7 +209,7 @@ func (ap *AutomationPolicy) Provision(tlsApp *TLS) error {  		if err != nil {  			return fmt.Errorf("loading TLS automation management module: %s", err)  		} -		for _, issVal := range val.([]interface{}) { +		for _, issVal := range val.([]any) {  			ap.Issuers = append(ap.Issuers, issVal.(certmagic.Issuer))  		}  	} | 
