mirror of
https://github.com/google/nomulus
synced 2026-01-10 16:00:52 +00:00
Fix resource mismatch problem in FixDomainNameserverKeysCommand
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147476075
This commit is contained in:
@@ -115,7 +115,10 @@ public class FixDomainNameserverKeysCommand extends ConfirmingCommand implements
|
||||
for (Entry<DomainResource, DomainResource> entry : domainUpdates.entrySet()) {
|
||||
DomainResource existingDomain = entry.getKey();
|
||||
checkState(
|
||||
Objects.equals(existingDomain, ofy().load().entity(existingDomain).now()),
|
||||
Objects.equals(
|
||||
existingDomain,
|
||||
ofy().load().entity(existingDomain).now()
|
||||
.cloneProjectedAtTime(ofy().getTransactionTime())),
|
||||
"Domain %s changed since init() was called.",
|
||||
existingDomain.getFullyQualifiedDomainName());
|
||||
HistoryEntry historyEntryWithModificationTime =
|
||||
|
||||
Reference in New Issue
Block a user