some linting

This commit is contained in:
6543 2023-02-10 03:43:33 +01:00
parent 7ce46167ff
commit bfe054f734
8 changed files with 25 additions and 9 deletions
server/certificates

View file

@ -350,6 +350,7 @@ func obtainCert(acmeClient *lego.Client, domains []string, renew *certificate.Re
}
func SetupAcmeConfig(acmeAPI, acmeMail, acmeEabHmac, acmeEabKID string, acmeAcceptTerms bool) (*lego.Config, error) {
// TODO: make it a config flag
const configFile = "acme-account.json"
var myAcmeAccount AcmeAccount
var myAcmeConfig *lego.Config