Skip to content

Commit

Permalink
Rename RemoteUtils to GrpcUtils
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 160285362
  • Loading branch information
ulfjack authored and hlopko committed Jun 28, 2017
1 parent e2ffd5d commit c09732b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/** Helper methods for gRPC calls */
@ThreadSafe
public final class RemoteUtils {
final class GrpcUtils {
public static ManagedChannel createChannel(String target, ChannelOptions channelOptions) {
NettyChannelBuilder builder =
NettyChannelBuilder.forTarget(target)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ final class RemoteSpawnStrategy implements SpawnActionContext {
} else if (GrpcActionCache.isRemoteCacheOptions(remoteOptions)) {
remoteCache =
new GrpcActionCache(
RemoteUtils.createChannel(remoteOptions.remoteCache, channelOptions),
GrpcUtils.createChannel(remoteOptions.remoteCache, channelOptions),
channelOptions,
remoteOptions);
} else {
Expand All @@ -117,7 +117,7 @@ final class RemoteSpawnStrategy implements SpawnActionContext {
if (remoteCache != null && GrpcRemoteExecutor.isRemoteExecutionOptions(remoteOptions)) {
workExecutor =
new GrpcRemoteExecutor(
RemoteUtils.createChannel(remoteOptions.remoteExecutor, channelOptions),
GrpcUtils.createChannel(remoteOptions.remoteExecutor, channelOptions),
channelOptions,
remoteOptions);
} else {
Expand Down

0 comments on commit c09732b

Please sign in to comment.