mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 19:20:44 +02:00
Fix small bug in getting retry header in publishDnsUpdates (#2076)
This commit is contained in:
parent
c33d2cb0b8
commit
dfc7947a2f
1 changed files with 4 additions and 3 deletions
|
@ -154,9 +154,10 @@ public final class PublishDnsUpdatesAction implements Runnable, Callable<Void> {
|
||||||
this.timeout = timeout;
|
this.timeout = timeout;
|
||||||
this.sendEmailService = sendEmailService;
|
this.sendEmailService = sendEmailService;
|
||||||
retryCount =
|
retryCount =
|
||||||
cloudTasksRetryCount.orElse(
|
cloudTasksRetryCount.orElseGet(
|
||||||
appEngineRetryCount.orElseThrow(
|
() ->
|
||||||
() -> new IllegalStateException("Missing a valid retry count header")));
|
appEngineRetryCount.orElseThrow(
|
||||||
|
() -> new IllegalStateException("Missing a valid retry count header")));
|
||||||
this.dnsWriter = dnsWriter;
|
this.dnsWriter = dnsWriter;
|
||||||
this.enqueuedTime = enqueuedTime;
|
this.enqueuedTime = enqueuedTime;
|
||||||
this.itemsCreateTime = itemsCreateTime;
|
this.itemsCreateTime = itemsCreateTime;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue