Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2019-01-17 12:57:19 +00:00
parent 26ef11d2dc
commit 4b6351a4f2

View File

@ -113,7 +113,7 @@ func ClientWithKey(iss cmapi.GenericIssuer, pk *rsa.PrivateKey) (acme.Interface,
}
acmeStatus := iss.GetStatus().ACME
accountURI := ""
if acmeStatus != nil || acmeStatus.URI != "" {
if acmeStatus != nil && acmeStatus.URI != "" {
accountURI = acmeStatus.URI
}
acmeCl := &acmecl.Client{