mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Fix two Gauava 20 deprecations across the tools package
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146162927
This commit is contained in:
parent
0a2622c6ab
commit
468f1fb0f8
5 changed files with 8 additions and 8 deletions
|
@ -137,7 +137,7 @@ final class RegistryCli {
|
|||
// RemoteApiCommands need to have the remote api installed to work.
|
||||
RemoteApiInstaller installer = new RemoteApiInstaller();
|
||||
RemoteApiOptions options = new RemoteApiOptions();
|
||||
options.server(connection.getServer().getHostText(), connection.getServer().getPort());
|
||||
options.server(connection.getServer().getHost(), connection.getServer().getPort());
|
||||
if (connection.isLocalhost()) {
|
||||
// Use dev credentials for localhost.
|
||||
options.useDevelopmentServerCredential();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue