mirror of
https://github.com/google/nomulus
synced 2026-01-11 00:10:36 +00:00
Remove the old RegistryConfig paradigm entirely
We are now ready to begin configuration using YAML, mediated by ConfigModule. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143818507
This commit is contained in:
@@ -17,7 +17,7 @@ package google.registry.tools;
|
||||
import com.beust.jcommander.Parameter;
|
||||
import com.beust.jcommander.Parameters;
|
||||
import com.google.common.net.HostAndPort;
|
||||
import google.registry.config.RegistryEnvironment;
|
||||
import google.registry.config.RegistryConfig;
|
||||
|
||||
/**
|
||||
* Class to contain the configuration flags for AppEngineConnection.
|
||||
@@ -29,7 +29,7 @@ import google.registry.config.RegistryEnvironment;
|
||||
class AppEngineConnectionFlags {
|
||||
|
||||
@Parameter(names = "--server", description = "HOST[:PORT] to which remote commands are sent.")
|
||||
private static HostAndPort server = RegistryEnvironment.get().config().getServer();
|
||||
private static HostAndPort server = RegistryConfig.getServer();
|
||||
|
||||
HostAndPort getServer() {
|
||||
return server;
|
||||
|
||||
Reference in New Issue
Block a user