1
0
mirror of https://github.com/google/nomulus synced 2026-01-10 07:57:58 +00: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:
cgoldfeder
2017-01-31 14:03:46 -08:00
committed by Ben McIlwain
parent 0a2622c6ab
commit 468f1fb0f8
5 changed files with 8 additions and 8 deletions

View File

@@ -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();