summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-06-03 12:18:25 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2021-06-03 12:18:25 -0600
commitecd5eeab3857a0d6903a85bf52183171bda1920c (patch)
treed585c6168741855f6647759f63f6fa820ded1c73 /modules/caddytls
parentb4cef492cc2b4c6ee0e43b083488823cbf5e3a48 (diff)
go.mod: Update direct dependencies
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/internalissuer.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/caddytls/internalissuer.go b/modules/caddytls/internalissuer.go
index a6ae587..7a25f6d 100644
--- a/modules/caddytls/internalissuer.go
+++ b/modules/caddytls/internalissuer.go
@@ -175,9 +175,7 @@ func (d customCertLifetime) Modify(cert *x509.Certificate, _ provisioner.SignOpt
return nil
}
-const (
- defaultInternalCertLifetime = 12 * time.Hour
-)
+const defaultInternalCertLifetime = 12 * time.Hour
// Interface guards
var (