summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-07-02 15:58:43 +0100
committerJürg Billeter <j@bitron.ch>2019-08-20 08:09:52 +0200
commit65024b60317a91aac150fae232139cccb94ef44d (patch)
tree0cc6a69b81069ba2d0059f8d1075805d578b16dd
parent2c9ecdc2a849a869d82b08899b0d1d67c9745b55 (diff)
downloadbuildstream-65024b60317a91aac150fae232139cccb94ef44d.tar.gz
casremote.py: Drop unused ByteStreamStub
-rw-r--r--src/buildstream/_cas/casremote.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildstream/_cas/casremote.py b/src/buildstream/_cas/casremote.py
index cf052a307..10f3fe302 100644
--- a/src/buildstream/_cas/casremote.py
+++ b/src/buildstream/_cas/casremote.py
@@ -7,7 +7,6 @@ from urllib.parse import urlparse
import grpc
from .._protos.google.rpc import code_pb2
-from .._protos.google.bytestream import bytestream_pb2_grpc
from .._protos.build.bazel.remote.execution.v2 import remote_execution_pb2, remote_execution_pb2_grpc
from .._protos.build.buildgrid import local_cas_pb2
from .._protos.buildstream.v2 import buildstream_pb2, buildstream_pb2_grpc
@@ -82,7 +81,6 @@ class CASRemote():
self.cascache = cascache
self.channel = None
self.instance_name = None
- self.bytestream = None
self.cas = None
self.ref_storage = None
self.batch_update_supported = None
@@ -128,7 +126,6 @@ class CASRemote():
self.instance_name = self.spec.instance_name or None
- self.bytestream = bytestream_pb2_grpc.ByteStreamStub(self.channel)
self.cas = remote_execution_pb2_grpc.ContentAddressableStorageStub(self.channel)
self.capabilities = remote_execution_pb2_grpc.CapabilitiesStub(self.channel)
self.ref_storage = buildstream_pb2_grpc.ReferenceStorageStub(self.channel)