Add missing call to retryOrder in existing order value for private key check

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2018-10-15 22:54:02 +01:00
parent 965757cce0
commit c1bd9c4a2e

View File

@ -120,6 +120,7 @@ func (a *Acme) Issue(ctx context.Context, crt *v1alpha1.Certificate) (issuer.Iss
}
if !validForKey {
glog.V(4).Infof("CSR on existing order resource does not match certificate %s/%s private key. Creating new order.", crt.Namespace, crt.Name)
return a.retryOrder(crt, existingOrder)
}
// If the existing order has expired, we should create a new one