mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Remove duplicate version of lookupSuperordinateDomain() function
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148657943
This commit is contained in:
parent
90114858fa
commit
64bfbea324
4 changed files with 7 additions and 34 deletions
|
@ -130,7 +130,7 @@ public final class HostUpdateFlow implements TransactionalFlow {
|
|||
String newHostName = firstNonNull(suppliedNewHostName, oldHostName);
|
||||
// Note that lookupSuperordinateDomain calls cloneProjectedAtTime on the domain for us.
|
||||
Optional<DomainResource> newSuperordinateDomain =
|
||||
Optional.fromNullable(lookupSuperordinateDomain(validateHostName(newHostName), now));
|
||||
lookupSuperordinateDomain(validateHostName(newHostName), now);
|
||||
verifyUpdateAllowed(command, existingHost, newSuperordinateDomain.orNull());
|
||||
if (isHostRename && loadAndGetKey(HostResource.class, newHostName, now) != null) {
|
||||
throw new HostAlreadyExistsException(newHostName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue