mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
MINOR: acme: display the type of challenge in ACME_INITIAL_DELAY
The ACME_INITIAL_DELAY state displays a message about 'dns-01', but this state is also used for 'dns-persist-01'. This patch displays the challenge that was configured instead of dns-01
This commit is contained in:
parent
ed0c51d2c0
commit
cf72132f22
1 changed files with 2 additions and 2 deletions
|
|
@ -2525,8 +2525,8 @@ re:
|
|||
st = ACME_CHALLENGE;
|
||||
ctx->http_state = ACME_HTTP_REQ;
|
||||
ctx->state = st;
|
||||
send_log(NULL, LOG_NOTICE, "acme: %s: dns-01: waiting %ds\n",
|
||||
ctx->store->path, ctx->cfg->dns_delay);
|
||||
send_log(NULL, LOG_NOTICE, "acme: %s: %s: waiting %ds\n",
|
||||
ctx->store->path, ctx->cfg->challenge, ctx->cfg->dns_delay);
|
||||
|
||||
task->expire = tick_add(now_ms, ctx->cfg->dns_delay * 1000);
|
||||
return task;
|
||||
|
|
|
|||
Loading…
Reference in a new issue