1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

Fix misspelling in onDemandAskRequest error (#3308)

This commit is contained in:
Christoffer Andersson 2020-04-25 18:34:56 +02:00 committed by GitHub
parent 02845bc9fd
commit a6761153cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ func onDemandAskRequest(ask string, name string) error {
resp, err := onDemandAskClient.Get(askURL.String()) resp, err := onDemandAskClient.Get(askURL.String())
if err != nil { if err != nil {
return fmt.Errorf("error checking %v to deterine if certificate for hostname '%s' should be allowed: %v", return fmt.Errorf("error checking %v to determine if certificate for hostname '%s' should be allowed: %v",
ask, name, err) ask, name, err)
} }
resp.Body.Close() resp.Body.Close()