mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Fix nomulus tool AppEngineConnection behavior
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136471276
This commit is contained in:
parent
afa4d66601
commit
b1beefab4c
3 changed files with 21 additions and 21 deletions
|
@ -20,7 +20,6 @@ import static org.joda.time.Duration.standardDays;
|
|||
|
||||
import com.google.appengine.api.utils.SystemProperty;
|
||||
import com.google.common.base.Ascii;
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.base.Optional;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.net.HostAndPort;
|
||||
|
@ -130,8 +129,8 @@ public final class ProductionRegistryConfigExample implements RegistryConfig {
|
|||
case LOCAL:
|
||||
return HostAndPort.fromParts("localhost", 8080);
|
||||
default:
|
||||
String host = Joiner.on(".").join("tools", getProjectId(), "appspot.com");
|
||||
return HostAndPort.fromParts(host, 443);
|
||||
return HostAndPort.fromParts(
|
||||
String.format("tools-dot-%s.appspot.com", getProjectId()), 443);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue