mirror of
https://github.com/google/nomulus
synced 2026-02-09 22:40:55 +00:00
Fix small bug in getting retry header in publishDnsUpdates (#2076)
This commit is contained in:
@@ -154,9 +154,10 @@ public final class PublishDnsUpdatesAction implements Runnable, Callable<Void> {
|
||||
this.timeout = timeout;
|
||||
this.sendEmailService = sendEmailService;
|
||||
retryCount =
|
||||
cloudTasksRetryCount.orElse(
|
||||
appEngineRetryCount.orElseThrow(
|
||||
() -> new IllegalStateException("Missing a valid retry count header")));
|
||||
cloudTasksRetryCount.orElseGet(
|
||||
() ->
|
||||
appEngineRetryCount.orElseThrow(
|
||||
() -> new IllegalStateException("Missing a valid retry count header")));
|
||||
this.dnsWriter = dnsWriter;
|
||||
this.enqueuedTime = enqueuedTime;
|
||||
this.itemsCreateTime = itemsCreateTime;
|
||||
|
||||
Reference in New Issue
Block a user