mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-18 10:29:43 +00:00
fix lint
This commit is contained in:
parent
c89ce83b6b
commit
b8b9886ee1
1 changed files with 0 additions and 1 deletions
|
@ -233,7 +233,6 @@ func (c *AcmeClient) obtainCert(acmeClient *lego.Client, domains []string, renew
|
||||||
defer c.obtainLocks.Delete(name)
|
defer c.obtainLocks.Delete(name)
|
||||||
|
|
||||||
if acmeClient == nil {
|
if acmeClient == nil {
|
||||||
|
|
||||||
if useDnsProvider {
|
if useDnsProvider {
|
||||||
return mockCert(domains[0], "DNS ACME client is not defined", mainDomainSuffix, keyDatabase)
|
return mockCert(domains[0], "DNS ACME client is not defined", mainDomainSuffix, keyDatabase)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue