From fe5e748170601ddafbec1bc41a21b03b27c74cf4 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Mon, 25 Jun 2018 10:46:10 +0100 Subject: [PATCH] Don't return invalid/expired orders in shouldAttemptValidation --- pkg/issuer/acme/prepare.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/issuer/acme/prepare.go b/pkg/issuer/acme/prepare.go index df54b6edd..690963020 100644 --- a/pkg/issuer/acme/prepare.go +++ b/pkg/issuer/acme/prepare.go @@ -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)