mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[PR #408] Fix CertMagic cache initialization #411
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#411
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/acme-dns/acme-dns/pull/408
Author: @d--j
Created: 2/23/2026
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (1)
5639d78Fix nil cache error by returning the initialized Certmagic config, not the uninitialized config.📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
pkg/api/api.go(+3 -2)📄 Description
The current
masterreturns the uninitialized CertMagic configuration in theGetConfigForCertcallback function. It should return the return value ofcertmagic.New– only this config has the cache set.Fixes errors like these:
Fixes #337 for refactored code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.