mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 18:55:58 +02:00
Fix typo in BsaRefreshAction (#2297)
This commit is contained in:
parent
dc48c257b5
commit
8415c8bbe4
2 changed files with 3 additions and 2 deletions
|
@ -162,7 +162,7 @@ public class BsaRefreshAction implements Runnable {
|
|||
.filter(UnblockableDomainChange::isNewOrChange)
|
||||
.map(UnblockableDomainChange::newValue));
|
||||
if (report.isPresent()) {
|
||||
gcsClient.logRemovedUnblockableDomainsReport(
|
||||
gcsClient.logAddedUnblockableDomainsReport(
|
||||
schedule.jobName(), LINE_SPLITTER.splitToStream(report.get()));
|
||||
bsaReportSender.addUnblockableDomainsUpdates(report.get());
|
||||
} else {
|
||||
|
|
|
@ -48,7 +48,8 @@ public final class BsaTransactions {
|
|||
@CanIgnoreReturnValue
|
||||
public static <T> T bsaQuery(Callable<T> work) {
|
||||
verify(!isInTransaction(), "May only be used for top-level transactions.");
|
||||
return replicaTm().transact(work, TRANSACTION_REPEATABLE_READ);
|
||||
// TRANSACTION_REPEATABLE_READ is default on replica.
|
||||
return replicaTm().transact(work);
|
||||
}
|
||||
|
||||
private BsaTransactions() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue