summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMohammed Al Sahaf <msaa1990@gmail.com>2020-01-03 21:33:22 +0300
committerMatt Holt <mholt@users.noreply.github.com>2020-01-03 11:33:22 -0700
commitdff78d82ce21d97cad53171b72b88550e02c2c7f (patch)
treec40db6f01dbeee0b23db1a67cd4d0e431a639071 /modules/caddytls
parent8c7c2e4af2e4e7ad842b959e2100855f6edadd68 (diff)
v2: housekeeping: address minor lint complaints (#2957)
* v2: housekeeping: update tools * v2: housekeeping: adhere to US locale in spelling * v2: housekeeping: simplify code
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/connpolicy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/connpolicy.go b/modules/caddytls/connpolicy.go
index 658adb9..3e46514 100644
--- a/modules/caddytls/connpolicy.go
+++ b/modules/caddytls/connpolicy.go
@@ -179,7 +179,7 @@ func (p *ConnectionPolicy) buildStandardTLSConfig(ctx caddy.Context) error {
// session ticket key rotation
tlsApp.SessionTickets.register(cfg)
ctx.OnCancel(func() {
- // do cleanup when the context is cancelled because,
+ // do cleanup when the context is canceled because,
// though unlikely, it is possible that a context
// needing a TLS server config could exist for less
// than the lifetime of the whole app