summaryrefslogtreecommitdiff
path: root/modules/caddypki/acmeserver
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-12-13 16:13:29 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-12-13 16:13:38 -0700
commita1c41210d34c629c3b5cdbdca74c540fde752aad (patch)
tree3889632b4fe919878b78b4b59f9c35635e239641 /modules/caddypki/acmeserver
parentecac03cdcb6cceae743aac16faca7f32e5da1607 (diff)
caddypki: Minor tweak, don't use context pointer
Diffstat (limited to 'modules/caddypki/acmeserver')
-rw-r--r--modules/caddypki/acmeserver/acmeserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddypki/acmeserver/acmeserver.go b/modules/caddypki/acmeserver/acmeserver.go
index 388aa52..ff021b4 100644
--- a/modules/caddypki/acmeserver/acmeserver.go
+++ b/modules/caddypki/acmeserver/acmeserver.go
@@ -102,7 +102,7 @@ func (ash *Handler) Provision(ctx caddy.Context) error {
return err
}
pkiApp := appModule.(*caddypki.PKI)
- ca, err := pkiApp.GetCA(ash.CA, &ctx)
+ ca, err := pkiApp.GetCA(ctx, ash.CA)
if err != nil {
return err
}