Rename RemoteApiCommand to CommandWithRemoteApi

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=211521742
This commit is contained in:
mmuller 2018-09-04 14:10:04 -07:00 committed by jianglai
parent e43349592d
commit 8a2388f5b6
38 changed files with 40 additions and 39 deletions

View file

@ -185,8 +185,8 @@ final class RegistryCli implements AutoCloseable, CommandRunner {
((CommandWithConnection) command).setConnection(getConnection());
}
// RemoteApiCommands need to have the remote api installed to work.
if (command instanceof RemoteApiCommand) {
// CommandWithRemoteApis need to have the remote api installed to work.
if (command instanceof CommandWithRemoteApi) {
if (installer == null) {
installer = new RemoteApiInstaller();
RemoteApiOptions options = new RemoteApiOptions();