Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 07:00 UTC
chore: fix some function names in comment (#6650)
David Wood committed
Oct 21, 2024 at 15:39 UTC
1391e8ed9ae16e233c904b31fe4da2d687149820
2 files changed
+2
-2
caddyconfig/httpcaddyfile/addresses.go
+1
-1
@@ -31,7 +31,7 @@ import (
31
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
32
)
33
34
-// mapAddressToServerBlocks returns a map of listener address to list of server
34
+// mapAddressToProtocolToServerBlocks returns a map of listener address to list of server
35
// blocks that will be served on that address. To do this, each server block is
36
// expanded so that each one is considered individually, although keys of a
37
// server block that share the same address stay grouped together so the config
caddytest/integration/mockdns_test.go
+1
-1
@@ -34,7 +34,7 @@ func (MockDNSProvider) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
34
return nil
35
}
36
37
-// AppendsRecords appends DNS records to the zone.
37
+// AppendRecords appends DNS records to the zone.
38
func (MockDNSProvider) AppendRecords(ctx context.Context, zone string, recs []libdns.Record) ([]libdns.Record, error) {
39
return nil, nil
40
}