Don't return invalid/expired orders in shouldAttemptValidation
This commit is contained in:
parent
28c52d6f02
commit
fe5e748170
@ -462,7 +462,7 @@ func (a *Acme) shouldAttemptValidation(ctx context.Context, cl client.Interface,
|
||||
}
|
||||
}
|
||||
|
||||
return prepareAttemptWaitPeriod - (time.Now().Sub(condition.LastTransitionTime.Time)), order, nil
|
||||
return prepareAttemptWaitPeriod - (time.Now().Sub(condition.LastTransitionTime.Time)), nil, nil
|
||||
}
|
||||
|
||||
return 0, nil, fmt.Errorf("unrecognised existing acme order status: %q", order.Status)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user