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:
parent
965757cce0
commit
c1bd9c4a2e
@ -120,6 +120,7 @@ func (a *Acme) Issue(ctx context.Context, crt *v1alpha1.Certificate) (issuer.Iss
|
|||||||
}
|
}
|
||||||
if !validForKey {
|
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)
|
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
|
// If the existing order has expired, we should create a new one
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user